[wp-trac] [WordPress Trac] #38677: Semantic elements for non-link links: class-wp-posts-list-table.php
WordPress Trac
noreply at wordpress.org
Mon Feb 19 20:45:31 UTC 2018
#38677: Semantic elements for non-link links: class-wp-posts-list-table.php
-------------------------------------+-------------------------------------
Reporter: Cheffheid | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: semantic-buttons has- | Focuses: ui, accessibility,
patch | javascript
-------------------------------------+-------------------------------------
Comment (by audrasjb):
Hmm, I just looked on other places like `class-wp-terms-list-table.php`.
At line 458 (current core dev version), we have a `aria-button-if-js`
class. This class is used by `common.js` at line 1488 to create add a
`role="button"`.
We have to be consistent right now, and make some choices:
- replace `button` element with `aria-button-if-js` class in `aria-button-
if-js` class
- remove `aria-button-if-js` class and add a real button to `class-wp-
terms-list-table.php`
Any thought on this?
Cheers,
Jb
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38677#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list