-
Notifications
You must be signed in to change notification settings - Fork 137
editorial: update roleInfo.js (manually) #2624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no I get it, the reason for the previous PR. This looks good to me, but I didn't look super close/verify every change.
common/script/roleInfo.js
Outdated
| } | ||
| ] | ||
| }, | ||
| "associationlist": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is correct following #1662
common/script/roleInfo.js
Outdated
| "name": "image", | ||
| "fragID": "image", | ||
| "parentRoles": [], | ||
| "parentRoles": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to image/img stem from image becoming the default #2076
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this is also something we want to fix. Cf. also #2073
common/script/roleInfo.js
Outdated
| "fragID": "none", | ||
| "localprops": [], | ||
| "parentRoles": [] | ||
| "parentRoles": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is due to none becoming the default and presentation the alias in #1945
common/script/roleInfo.js
Outdated
| { | ||
| "is": "property", | ||
| "name": "aria-label", | ||
| "name": "aria-braillelabel", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git diff being confused here - paragraph gained braillelabel (disallowed) while presentation lost it's information (cf. earlier comment on "none" / #1945).
| "widget" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct as per #2581
common/script/roleInfo.js
Outdated
| } | ||
| ] | ||
| }, | ||
| "sectionfooter": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common/script/roleInfo.js
Outdated
| } | ||
| ] | ||
| }, | ||
| "sectionheader": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common/script/roleInfo.js
Outdated
| ], | ||
| "localprops": [ | ||
| { | ||
| "is": "property", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From #1991
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common/script/roleInfo.js
Outdated
| "parentRoles": [ | ||
| "section" | ||
| ], | ||
| "parentRoles": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cf. comment on image
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "disallowed": false, | ||
| "deprecated": false | ||
| }, | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common/script/roleInfo.js
Outdated
| } | ||
| ] | ||
| }, | ||
| "presentation": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cf. above
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "section" | ||
| ], | ||
| "localprops": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I added comments linking to the PRs that caused the changes (and explained how git diff is struggling in one situation). |
|
Discussed in yesterday's editors' call https://www.w3.org/2025/09/10-aria-editors-minutes.html#73b0 |
|
Ugh, I forgot that squashing the commits in the first PR means I can't just switch the branch. Lovely. I'll force push an update. Hopefully my comments will survive. |
|
Double ugh - CI run of prettier is reformatting roleInfo.js back to what it was 42350b4 |
Updates roleInfo using the current manual process. Part of #2501
b29bb5e to
2f9ec60
Compare
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| }, | ||
| ], | ||
| }, | ||
| associationlist: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is correct following #1662
| name: "image", | ||
| fragID: "image", | ||
| parentRoles: [], | ||
| parentRoles: ["section"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| fragID: "none", | ||
| localprops: [], | ||
| parentRoles: [], | ||
| parentRoles: ["structure"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is due to none becoming the default and presentation the alias in #1945
| { | ||
| is: "property", | ||
| name: "aria-label", | ||
| name: "aria-braillelabel", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git diff being confused here - paragraph gained braillelabel (disallowed) while presentation lost it's information (cf. earlier comment on "none" / #1945).
| }, | ||
| ], | ||
| }, | ||
| sectionfooter: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| }, | ||
| ], | ||
| }, | ||
| sectionheader: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@jnurthen following a rebase, github lost the connection to some of the earlier comments - I re-added them (they appear twice in this thread but once in the "Files Changed" view. Could you take a look so we can merge? |
|
@jnurthen can I merge this? |
SHA: cc055a7 Reason: push, by pkra Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Updates roleInfo using the current manual process. Changes are due to #2076, #1662, #1945, #2581, #1931, #1991, #1862
Part of #2501
Also resolves #2234