[wp-trac] [WordPress Trac] #47149: Tab structure does not use tab semantics
WordPress Trac
noreply at wordpress.org
Tue Oct 8 16:59:51 UTC 2019
#47149: Tab structure does not use tab semantics
-------------------------------------+-------------------------------------
Reporter: anevins | Owner: afercia
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: wpcampus-report has- | Focuses: accessibility,
screenshots semantic-buttons has- | javascript
patch |
-------------------------------------+-------------------------------------
Comment (by afercia):
Noticed an edge case where the ARIA tabs markup is rendered even if there
are no visible "menu" and "router" tabs. Learned the state attributes
contain information on the two menus and it's possible to additionally
check for them to better determine when the ARIA tabs markup needs to be
rendered.
[attachment:"47149.7.diff"] uses this approach to improve the related
conditional checks and remove a no longer necessary conditional check.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47149#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list