From b077dc50c1e7ba8ad492a399ccb8804d7cca86bd Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Thu, 3 Oct 2024 21:26:57 +0000 Subject: [PATCH] Administration: A11y: Clarify settings in discussion options. Fix several settings groups in the discussion options that were written in a compound/sentence structure format. These formats are difficult to parse for screen reader users and have significant layout problems in mobile viewports. Change settings to use independent labeling. Props Cheffheid, anthakkar08, DrewAPicture, afercia, jwgoedert, sannevndrmeulen, sudipatel007, tirth03, joedolson. See #31354. git-svn-id: https://develop.svn.wordpress.org/trunk@59160 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/edit.css | 2 +- src/wp-admin/options-discussion.php | 113 ++++++++++++---------------- 2 files changed, 51 insertions(+), 64 deletions(-) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 757d676b727f5..fa94499735541 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -1297,7 +1297,7 @@ div.tabs-panel-active:focus { /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } - +.options-discussion-php .indent-children ul, #front-page-warning, #front-static-pages ul, ul.export-filters, diff --git a/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php index 19e3c45dc80c1..d9e084d14383b 100644 --- a/src/wp-admin/options-discussion.php +++ b/src/wp-admin/options-discussion.php @@ -42,7 +42,7 @@
- + + -?> - + + +