feat(aria): Add short titles, format titles for roles#39472
Conversation
There was a problem hiding this comment.
This update makes sense, thanks!
Although, for the title should we use the format "ARIA attribute: attribute-name`" instead?
For that reason, perhaps we'd also want to update the existing "ARIA: role-name role" to "ARIA role: role-name".
We have a similar format we use in HTML titles, like here https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/capture: "HTML attribute: capture".
|
Thank you!
Good suggestion. Personally, I prefer |
* upstream/main: (40 commits) Add a guide on xs-leaks (mdn#38977) chore: Link to child pages in SVG, URI section (mdn#39470) Correct page title for `Uint8Array.prototype.setFromHex()` (mdn#39494) Bump markdownlint-cli2 from 0.17.2 to 0.18.0 (mdn#39488) Add more documentation for sizes=auto (mdn#39464) css(fix): update 'shape()' page (mdn#39454) Expand Compression Dictionary format description (mdn#39441) Add username/password section to URLs guide (mdn#39487) Fix typos (mdn#39481) CSS: mask-position property description (mdn#39449) Adding @starting-style to CSS nesting at-rules (mdn#39473) feat(aria): Add short titles, format titles for roles (mdn#39472) Fix Circle Collision detection algorithm (mdn#39484) Add warning against using element IDs as global properties. (mdn#39422) Fix typos in web audio spatialization basics (mdn#39476) More Error Messages (mdn#39419) Add links to CSS sidebar (mdn#39445) css: add 'stretch' value examples (mdn#39451) chore: link to unlinked child pages (mdn#39469) Fix typos (mdn#39465) ...
Description
In this PR, I'm making the nav consistent for ARIA attributes and roles. That means:
Additions:
short-titlefor attributes and rolesChanges:
For example all role pages:
become
title: "ARIA: cell role" +short-title: cellAnd all attribute pages:
Become:
The same change is repeated through the whole section.
Related issues and pull requests
Follow up from (separated out to reduce noise / complexity of that review):