-
Notifications
You must be signed in to change notification settings - Fork 138
[accname PR 229] Add nameFrom: heading to AccName text alt algorithm
#2209
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
nameFrom: heading to AccName text alt algorithm nameFrom: heading to AccName text alt algorithm
|
Now pointing to main. |
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
|
@cookiecrook should this change be merged into #1860? |
|
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. |
| </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> |
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 changed later from IDDFS to DFS.
| 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> |
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.
|
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. |
|
@cookiecrook can we close this too in favor of #2650? |
|
Yes. This diff is already part of the new PR. Thanks. |
Moved from w3c/accname#229
229 was approved by @MelSumner and @accdc
Preview | Diff