Skip to content

Update a no href to map to link role - #2863

Open
lolaodelola wants to merge 6 commits into
w3c:mainfrom
lolaslab:main
Open

Update a no href to map to link role#2863
lolaodelola wants to merge 6 commits into
w3c:mainfrom
lolaslab:main

Conversation

@lolaodelola

Copy link
Copy Markdown

Closes html-aam/608

Describe Change Here!

And a few other todo items (delete this section after performing them):

  • For every spec that this PR edits, please add the appropriate spec:<spec_name> label. If you don't have privileges to do this, editors will do it for you.
  • If the change is editorial, please add "Editorial:" at the start of your PR name, and delete the "Test, Documentation and Implementation tracking" section below.

Test, Documentation and Implementation tracking

Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 184cbb5
🔍 Latest deploy log https://app.netlify.com/projects/wai-aria/deploys/6a881349b33a2000082a12af
😎 Deploy Preview https://deploy-preview-2863--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@lolaodelola
lolaodelola marked this pull request as ready for review August 5, 2026 13:20
@HaTheo

HaTheo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

NIT feedback otherwise LGTM. I also looked into Area tags and found that they were treated similarly in Firefox but not in chrome/safari it didn't look like.

@lolaodelola

Copy link
Copy Markdown
Author

Thanks @HaTheo! I think we may need more discussion on the area tags.

@spectranaut

Copy link
Copy Markdown
Contributor

@HaTheo can you leave a review? you only left a comment :)

Comment thread html-aam/index.html
<section>
<h4>Substantive changes since moving to the <a href="https://www.w3.org/WAI/ARIA/">Accessible Rich Internet Applications Working Group</a> (03-Nov-2019)</h4>
<ul>
<li>12-Aug-2026: Add `a with click listener` to have `link` role in keeping with browser implementations. See <a href="https://github.com/w3c/html-aam/issues/608">GitHub Issue 608</a> </li>

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.

NIT: missing period/. before </li> for consistency.

Comment thread .gitignore
Comment on lines +223 to +224

# Jet Brains

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.

NIT: Calling it out as this seems auxiliary like something JetBrains added. Might be good to separate if we feel like this is a helpful addition to '.gitignore', but that might be personal preference.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I manually added this following the existing pattern. You think this should be taken out and put in a different PR?

Comment thread html-aam/index.html
</td>
</tr>
<tr>
<th>Comments</th>

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.

Might be good to specify that this applies only to direct onClick and click event listeners in the comments for clarity. Especially as delegated event listeners become more common and James' callout.

Comment thread html-aam/index.html Outdated

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.

NIT: Should explicitly say without click listener for clarity.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

You mean like no href and no click listener?

@HaTheo HaTheo Aug 19, 2026

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.

Yes, since it's broken out into three options: a (represented as a hyperlink); a (without href); and a (with a click listener) there's a bit of overlap between an a without an href and an a with a click listener. I just thought specifying it would clear up any ambiguity. I was thinking this could say "a (without href or click listener)"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Gotcha!

Comment thread html-aam/index.html Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map link with direct click listener to link

3 participants