Skip to content
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

Elements and Attributes have id="undefined" in Working Draft #255

Closed
carmacleod opened this issue Oct 7, 2019 · 5 comments
Closed

Elements and Attributes have id="undefined" in Working Draft #255

carmacleod opened this issue Oct 7, 2019 · 5 comments
Labels
spec chore for issues that are directly related to the rendering of the spec

Comments

@carmacleod
Copy link
Contributor

The Editor's Draft version of the HTML-AAM spec has valid id's that provide a link to each element in the HTML Element Role Mappings Table.

For example, the anchor element id is el-a, so its link is: https://w3c.github.io/html-aam/#el-a

The code in the Editor's Draft is:

<summary id="el-a" role="button" aria-expanded="true" aria-controls="details-id-0">

However, in the Working Draft version, this id is undefined.

To link to the anchor element in the Working Draft, one must use the difficult-to-discover details-id-0 in the summary, which does not feel very permanent: https://www.w3.org/TR/html-aam/#details-id-0

The broken line of code is:

<summary id="undefined" role="button" aria-expanded="false" aria-controls="details-id-0">

Same problem with the HTML Attribute State and Property Mappings Table.
The working code in the Editor's Draft is:

<summary id="att-abbr" role="button" aria-expanded="false" aria-controls="details-id-141">

And the broken code in the Working Draft is:

<summary id="undefined" role="button" aria-expanded="false" aria-controls="details-id-141">

Same problem with the "Single Table View" for both tables, except that in the Working Draft version of the Table Views, there's no id at all (not even undefined).

@marcoscaceres Are these ReSpec issues?

@marcoscaceres
Copy link
Member

I see it's unrelated to ReSpec (kinda), but thanks for letting me know... if there is something we should be doing in ReSpec core, please let me know.

@carmacleod
Copy link
Contributor Author

if there is something we should be doing in ReSpec core, please let me know.

Thank-you, @marcoscaceres!

@ZoeBijl Letting you know that @marcoscaceres has kindly offered help with w3c/aria-common#7 on the ReSpec side if needed.

@ZoeBijl
Copy link

ZoeBijl commented Oct 17, 2019

Excellent! I’ll reach out when I start work on it 👍.

@scottaohara scottaohara added Spec Bug spec chore for issues that are directly related to the rendering of the spec labels Jan 23, 2022
@scottaohara
Copy link
Member

related to #360.
w3c/core-aam#105 may finally fix this issue

@scottaohara
Copy link
Member

This is closed via merging #406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec chore for issues that are directly related to the rendering of the spec
Projects
None yet
Development

No branches or pull requests

4 participants