The `aria-current` attribute is a simple, effective way to communicate to assistive technologies which the current item within a set of items is. While the admin menu structure isn't 100% ideal (the top-level item is repeated also as a sub-item) adding `aria-current="page"` to the sub-items gives an important feedback to assistive technologies users. This change introduces `aria-current` for the first time in core. Worth noting there are other places where it can be used to improve accessibility. These should be addressed in separate tickets and patches. Fixes #41589. Built from https://develop.svn.wordpress.org/trunk@41359 git-svn-id: http://core.svn.wordpress.org/trunk@41192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
9.3 KiB
9.3 KiB