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

Suggest exposing <rt> as a description on the <ruby> base text #352

Open
aleventhal opened this issue Oct 30, 2021 · 0 comments
Open

Suggest exposing <rt> as a description on the <ruby> base text #352

aleventhal opened this issue Oct 30, 2021 · 0 comments

Comments

@aleventhal
Copy link
Collaborator

aleventhal commented Oct 30, 2021

For <ruby>, most browser - screen reader combinations read redundant text, because the <rt> contents are exposed as well as the base text.

This situation can be handled by move <rt> contents to accessible descriptions applied to the base <ruby> text in the accessible tree. The screen reader or user will then hear only the base text by default, but can still access the <rt> text.

In addition, "description-from" is set to "ruby-annotation" (see #351 for an explanation of description-from, which is implemented in some browsers but not yet part of HTML-AAM). This allows the screen reader to disambiguate from other types of descriptions and apply different verbosity rules.

Note that this is how Chrome already exposes ruby and rt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant