[wp-trac] [WordPress Trac] #47390: Improve accessibility of forms elements within some "form-table" forms

WordPress Trac noreply at wordpress.org
Sat May 25 15:02:52 UTC 2019


#47390: Improve accessibility of forms elements within some "form-table" forms
---------------------------------------+----------------------------
 Reporter:  afercia                    |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.3
Component:  Administration             |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  accessibility
---------------------------------------+----------------------------
Changes (by afercia):

 * keywords:   => has-patch has-screenshots


Comment:

 [attachment:"47390.diff"] does the following:

 - adds `role="presentation"` to the edit comment layout table
 - removes a few pointless `<fieldset>` elements
 - adds a few missing `<label>` elements, especially on some network admin
 pages
 - adds the CSS class `class="td-full"` to table rows spanning to multiple
 cells
 - adds explicit `scope="row"` attribute to the table headers in `options-
 permalink.php`: this table is better communicated as data table
 - consistently use label association in the "Privacy Settings" page, see
 attached screenshots
 - in the installation "Set up your database connection" page: associates
 descriptions to their inout fields using `aria-describedby`
 - improves the link to gravatar.com in the `user-edit.php` page


 Re: the "Privacy Settings" page, the select label should be the bold text
 in the left column. I'd like to propose to remove `Select an existing
 page:` and just use the left column text as the `<label>`, also for
 consistency with all the similar settings tables in the admin. See
 attached screenshots.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47390#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list