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

Editorial: Update accname step 2E (Host Language Label) to specify empty string treatment #2486

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rahimabdi
Copy link
Contributor

@rahimabdi rahimabdi commented Mar 23, 2025

Closes w3c/accname#234.

This PR clarifies that the empty string is special as part of host language label calculation.


Preview | Diff

Copy link

netlify bot commented Mar 23, 2025

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 7e700a5
🔍 Latest deploy log https://app.netlify.com/sites/wai-aria/deploys/67ea4e2ced32e60008e74faf
😎 Deploy Preview https://deploy-preview-2486--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 site configuration.

@spectranaut
Copy link
Contributor

Also related? #2491

Copy link
Member

@scottaohara scottaohara left a comment

Choose a reason for hiding this comment

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

so i think this update helps - but per the discussion in #2491 i'm not sure if this content adequately indicates "unless .... [so stop here]" OR "unless .... [so keep going to find your accname!]

i understood it to be "so stop here" and more specifically "so stop here AND ALSO HTML AAM has more detailed guidance for images"

but maybe the conflicting wpts were contributing to the reading that the spec was actually saying 'unless ... [so move on until the tooltip step in the algorithm]"

@rahimabdi
Copy link
Contributor Author

rahimabdi commented Mar 27, 2025

but maybe the conflicting wpts were contributing to the reading that the spec was actually saying 'unless ... [so move on until the tooltip step in the algorithm]"

@scottaohara Agreed, and a note pointing to HTML-AAMs somewhere in this step is a good idea. Should the note be complementary to this step, or should accname pick up in HTML-AAM after this step?

@scottaohara
Copy link
Member

me thinks this might be solved by however @MelSumner was planning to write that note for accName in general?

i'd welcome thoughts from @sideshowbarker though

Copy link
Contributor

@accdc accdc left a comment

Choose a reason for hiding this comment

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

I think as @MelSumner described the note yesterday it makes sense to me. I approve and welcome any additional feedback as well.

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.

Should the Host Language Label be used if it's empty?
6 participants