Skip to content

Conversation

@pkra
Copy link
Member

@pkra pkra commented Sep 5, 2025

Updates roleInfo using the current manual process. Changes are due to #2076, #1662, #1945, #2581, #1931, #1991, #1862

Part of #2501

Also resolves #2234

@pkra
Copy link
Member Author

pkra commented Sep 5, 2025

This is currently setup to merge into #2620's branch to make review easier. Once #2620 is merged, I'll change the target branch and move it out of draft.

@pkra pkra requested review from jnurthen and spectranaut September 5, 2025 07:48
@pkra pkra added the editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo label Sep 5, 2025
Copy link
Contributor

@spectranaut spectranaut left a 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.

}
]
},
"associationlist": {
Copy link
Member Author

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": [
Copy link
Member Author

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

Copy link
Member Author

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

"fragID": "none",
"localprops": [],
"parentRoles": []
"parentRoles": [
Copy link
Member Author

@pkra pkra Sep 7, 2025

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",
Copy link
Member Author

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": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct as per #2581

}
]
},
"sectionfooter": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
]
},
"sectionheader": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"localprops": [
{
"is": "property",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From #1991

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"parentRoles": [
"section"
],
"parentRoles": [],
Copy link
Member Author

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": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"disallowed": false,
"deprecated": false
},
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
]
},
"presentation": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cf. above

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"section"
],
"localprops": [
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pkra
Copy link
Member Author

pkra commented Sep 7, 2025

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.

Thank you. I added comments linking to the PRs that caused the changes (and explained how git diff is struggling in one situation).

@pkra pkra added this to ARIA Editors Sep 9, 2025
@github-project-automation github-project-automation bot moved this to Agenda+ in ARIA Editors Sep 9, 2025
@pkra
Copy link
Member Author

pkra commented Sep 11, 2025

Discussed in yesterday's editors' call https://www.w3.org/2025/09/10-aria-editors-minutes.html#73b0

@pkra pkra self-assigned this Sep 11, 2025
@pkra pkra changed the base branch from 2501-roleInfo to main September 18, 2025 06:54
@pkra pkra marked this pull request as ready for review September 18, 2025 06:54
@pkra
Copy link
Member Author

pkra commented Sep 18, 2025

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.

@pkra pkra mentioned this pull request Jul 10, 2025
23 tasks
@pkra
Copy link
Member Author

pkra commented Sep 18, 2025

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
@pkra pkra force-pushed the 2501-roleInfo-aria1.3 branch from b29bb5e to 2f9ec60 Compare September 18, 2025 08:21
@netlify
Copy link

netlify bot commented Sep 18, 2025

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 2f9ec60
🔍 Latest deploy log https://app.netlify.com/projects/wai-aria/deploys/68cbc10c69340a000894badd
😎 Deploy Preview https://deploy-preview-2624--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

},
],
},
associationlist: {
Copy link
Member Author

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"],
Copy link
Member Author

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

But this is also something we want to fix. Cf. also #2073

fragID: "none",
localprops: [],
parentRoles: [],
parentRoles: ["structure"],
Copy link
Member Author

@pkra pkra Sep 18, 2025

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",
Copy link
Member Author

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: {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
],
},
sectionheader: {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pkra
Copy link
Member Author

pkra commented Sep 18, 2025

@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?

@pkra
Copy link
Member Author

pkra commented Sep 24, 2025

@jnurthen can I merge this?

@pkra pkra moved this from Agenda+ to In Progress in ARIA Editors Sep 24, 2025
@pkra pkra merged commit cc055a7 into main Sep 25, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ARIA Editors Sep 25, 2025
github-actions bot added a commit that referenced this pull request Sep 25, 2025
SHA: cc055a7
Reason: push, by pkra

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

JSON roleInfo.js is not updated

3 participants