Skip to content

editorial: update roleInfo.js (manually) - #2624

Merged
pkra merged 1 commit into
mainfrom
2501-roleInfo-aria1.3
Sep 25, 2025
Merged

editorial: update roleInfo.js (manually)#2624
pkra merged 1 commit into
mainfrom
2501-roleInfo-aria1.3

Conversation

@pkra

@pkra pkra commented Sep 5, 2025

Copy link
Copy Markdown
Member

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

pkra commented Sep 5, 2025

Copy link
Copy Markdown
Member Author

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

@spectranaut spectranaut left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread common/script/roleInfo.js Outdated
}
]
},
"associationlist": {

Copy link
Copy Markdown
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

Comment thread common/script/roleInfo.js Outdated
"name": "image",
"fragID": "image",
"parentRoles": [],
"parentRoles": [

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread common/script/roleInfo.js Outdated
"fragID": "none",
"localprops": [],
"parentRoles": []
"parentRoles": [

@pkra pkra Sep 7, 2025

Copy link
Copy Markdown
Member Author

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

Comment thread common/script/roleInfo.js Outdated
{
"is": "property",
"name": "aria-label",
"name": "aria-braillelabel",

Copy link
Copy Markdown
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).

Comment thread common/script/roleInfo.js
"widget"
],
"localprops": [
{

Copy link
Copy Markdown
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

Comment thread common/script/roleInfo.js Outdated
}
]
},
"sectionfooter": {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js Outdated
}
]
},
"sectionheader": {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js Outdated
],
"localprops": [
{
"is": "property",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

From #1991

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js Outdated
"parentRoles": [
"section"
],
"parentRoles": [],

Copy link
Copy Markdown
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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"disallowed": false,
"deprecated": false
},
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js Outdated
}
]
},
"presentation": {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

cf. above

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
"section"
],
"localprops": [
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@pkra

pkra commented Sep 7, 2025

Copy link
Copy Markdown
Member Author

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

pkra commented Sep 11, 2025

Copy link
Copy Markdown
Member Author

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

pkra commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

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
28 tasks
@pkra

pkra commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

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

netlify Bot commented Sep 18, 2025

Copy link
Copy Markdown

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.

Comment thread common/script/roleInfo.js
},
],
},
associationlist: {

Copy link
Copy Markdown
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

Comment thread common/script/roleInfo.js
name: "image",
fragID: "image",
parentRoles: [],
parentRoles: ["section"],

Copy link
Copy Markdown
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

Comment thread common/script/roleInfo.js
fragID: "none",
localprops: [],
parentRoles: [],
parentRoles: ["structure"],

@pkra pkra Sep 18, 2025

Copy link
Copy Markdown
Member Author

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

Comment thread common/script/roleInfo.js
{
is: "property",
name: "aria-label",
name: "aria-braillelabel",

Copy link
Copy Markdown
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).

Comment thread common/script/roleInfo.js
},
],
},
sectionfooter: {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread common/script/roleInfo.js
},
],
},
sectionheader: {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@pkra

pkra commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

@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

pkra commented Sep 24, 2025

Copy link
Copy Markdown
Member Author

@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>
@pkra
pkra deleted the 2501-roleInfo-aria1.3 branch April 8, 2026 12:32
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

2 participants