Maps4HTML / MapML-Specification

Map Markup Language is hypertext for Web maps, like HTML is hypertext for Web pages https://maps4html.org/MapML-Specification/spec/
Other
55 stars 12 forks source link

Add/update implicit ARIA roles and allowed ARIA #168

Closed Malvoz closed 3 years ago

Malvoz commented 3 years ago

Close #149.

Adds/updates implicit ARIA roles and allowed ARIA.

Notably:

The ARIA of each element is subject to change of course, I suggest opening new issues to discuss the accessibility considerations of each element when/if needed.

Preview (in comparison to WHATWG HTML's accessibility considerations)

HTML spec:

whatwg-accessibility-considerations

MapML spec:

mapml-accessibility-considerations

For authors

The HTML spec links For authors (for the html element in this case) to https://w3c.github.io/html-aria/#el-html:

aria-in-html-th html-el-aria

The MapML spec can't (at least not consistently) link to ARIA in HTML because it defines new elements (e.g. the mapml element), we can include the ARIA in a details element instead:

mapml-el-aria

For implementers

The HTML spec links For implementers (for the html element in this case) to the html element in the HTML Accessibility API Mappings: https://w3c.github.io/html-aam/#el-html (the site's CSS is currently broken so you'll have to collapse the sidebar to view the entire table).

The MapML spec doesn't yet have any Accessibility API Mappings, perhaps the most appropriate thing to do is link to the GH issue:

mapmlaam-gh-issue

prushforth commented 3 years ago

Looks good, lots to discuss. Sorry I overlooked this until now.