equalizedigital / accessibility-checker

GNU General Public License v2.0
15 stars 8 forks source link

Accessible tabs for metabox #600

Closed pattonwebz closed 3 months ago

pattonwebz commented 3 months ago

This PR refactors the markup, event handlers and aria for the summary metabox to make the tabs more accessible as per: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/

The one piece that is missing is a aria-labeledby on the tablist - there is no header or text preceding it in the metabox to point to. The actual metabox container header added by WP has no unique ID to point at.

Fixes: #360