-
Notifications
You must be signed in to change notification settings - Fork 22
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
AccName algo probably needs an update for ::marker #203
Comments
I hope I got all that right, because it was the most fun I've ever had writing a GitHub issue. 🤣 |
Cc @fantasai to keep me honest |
Noticed while working on: |
as an FYI - i had opened an issue against firefox concerning the summary element, where "Filled down pointing small triangle" or "Filled right pointing small triangle" was being included in the accessible name of the summary element, and causing a name change event to fire each time the disclosure was toggled. not sure what the expected end goal was for ::marker in accName, but per the above, if the intent is to include it - i think i'd at least situationally object to that. |
I dunno. Maybe the default style sheet should explicitly override the alt value in scenarios where it's undesirable: details:not([open]) > summary::marker {
content: "▶";
content: "▶" / "";
} So that the party::marker {
content: "🎉"; /* or even `content: "🎉" / "Party!";` */
} No one wants to attend your disability-segregated parties, @scottaohara! 🤣 |
that's fine, since i've equally not invited anyone to said parties. cleanup is such a chore. but point very much taken. my reaction stems from all the times I see UAs and authors use this (and ::before/::after) and the information the pseudo conveys which is redundant if not nonsensical to be added to the accName. but maybe that wouldn't be as much of a problem if more than chromium browsers supported setting alternatives for this content? |
This will need to take into account It's unclear how ATs treat image-based list markers generally since they don't have text alternatives although CSS |
See #76 |
AccName algo (Name from Content section that covers pseudo elements) probably needs an update for
::marker
, which—if I understand correctly—comes before::before
, but can also have another::before::marker
before::before
(but after*::marker
), and an::after::marker
after the element contents but before::after
.The text was updated successfully, but these errors were encountered: