Skip to content

[accname PR 229] Add nameFrom: heading to AccName text alt algorithm - #2209

Closed
pkra wants to merge 2 commits into
mainfrom
monorepo_history--accname-PR229
Closed

[accname PR 229] Add nameFrom: heading to AccName text alt algorithm #2209
pkra wants to merge 2 commits into
mainfrom
monorepo_history--accname-PR229

Conversation

@pkra

@pkra pkra commented May 23, 2024

Copy link
Copy Markdown
Member

Moved from w3c/accname#229

229 was approved by @MelSumner and @accdc


Preview | Diff

@pkra
pkra changed the base branch from monorepo_history--accname to main June 12, 2024 19:33
@pkra pkra changed the title [Monorepo] [accname PR 229] Add nameFrom: heading to AccName text alt algorithm [accname PR 229] Add nameFrom: heading to AccName text alt algorithm Jun 12, 2024
@pkra

pkra commented Jun 12, 2024

Copy link
Copy Markdown
Member Author

Now pointing to main.

Copilot AI 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.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@jnurthen

jnurthen commented Apr 15, 2025

Copy link
Copy Markdown
Member

@cookiecrook should this change be merged into #1860?

@cookiecrook

Copy link
Copy Markdown
Contributor

I'm happy to incorporate if you'd like. I recall I started the other PR before the monorepo was a thing. I just want to get it merged.

Comment thread accname/index.html
</li>
<li id="comp_name_from_heading">
<em>Name From Heading:</em> Otherwise, if the <code>current node</code> has a role that supports <a href="https://w3c.github.io/aria/#namefromheading">nameFrom: heading</a>, return
the text alternative of the first descendant <a>element</a> node matching the role of <code>heading</code> in an <em>iterative deepening depth-first search.</em>

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.

This changed later from IDDFS to DFS.

Suggested change
the text alternative of the first descendant <a>element</a> node matching the role of <code>heading</code> in an <em>iterative deepening depth-first search.</em>
the text alternative of the first descendant <a>element</a> node matching the role of <code>heading</code> in an <em>depth-first search.</em>

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.

@scottaohara

Copy link
Copy Markdown
Member

I had offered to try and merge the related prs together (as there’s an html aam one too) but I haven’t had the time as I had hoped.

@jnurthen
jnurthen requested a review from spectranaut May 22, 2025 17:28
@jnurthen
jnurthen changed the base branch from main to namefrom-heading May 22, 2025 17:34
@jnurthen
jnurthen changed the base branch from namefrom-heading to main May 22, 2025 17:35
@jnurthen jnurthen added the waiting for implementations Cannot be merged until there are two browser impls or one impl + impl commit label May 22, 2025
@spectranaut spectranaut moved this from All PRS to Waiting For Implementation in ARIA Normative PR Tracking Jun 13, 2025
@spectranaut

Copy link
Copy Markdown
Contributor

@cookiecrook can we close this too in favor of #2650?

@cookiecrook

Copy link
Copy Markdown
Contributor

Yes. This diff is already part of the new PR. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec:accname waiting for implementations Cannot be merged until there are two browser impls or one impl + impl commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants