w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 49 forks source link

chore: source cleanup #387

Closed scottaohara closed 2 years ago

scottaohara commented 2 years ago

there have been some markup inconsistencies in the HTML elements table. this PR is looking to correct those. Additionally, this PR moves the IDs from the tr element to the th for each row. This is because the tabindex=-1 is causing chromium to calculate an accessible name for the row based on all the cells, and that's not very pleasant. Moving to the th negates this name calculation while still providing a reasonable place to move focus to for each permalinked row.

This PR also removes the errant line "and any aria-* attributes applicable to the document role. " from the body element. This should have been removed when body was corrected to not have the implicit role of document. There is no normative change here though, as document doesn't have any attributes that are specifically supported by it, beyond global aria attributes.


Preview | Diff