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

Accessibility #11

Open
Reinmar opened this issue Nov 15, 2018 · 3 comments
Open

Accessibility #11

Reinmar opened this issue Nov 15, 2018 · 3 comments

Comments

@Reinmar
Copy link

Reinmar commented Nov 15, 2018

I wonder if and how the semantics of created highlights should be exposed to assistive technologies.

For instance – when highlights would be used to render spellchecking squiggles we should also have a way to tell the that this piece of text is misspelled. I don't know how the selection itself is rendered in the Accessibility Object Model, but I think that highlights should be able to use the same mechanism.

I'd imagine that the easiest solution may be to allow defining a highlight's title. For a misspelled fragment of text it could be set to "misspelled" (that's at least what VoiceOver reads).

@Reinmar
Copy link
Author

Reinmar commented Nov 15, 2018

cc @Comandeer

@Comandeer
Copy link

In the simplest case something like HighlightRange#label should be enough. However, if you already referenced AOM, there is proposal for virtual accessibility nodes, that are dedicated just for this case: exposing non-element nodes in accessibility tree. In such case HighlightRange interface should be updated in following manner:

partial interface HighlightRange {
	AccessibleNode attachAccessibleRoot();
}

The only part that it's worrying me a little is the fact that VANs are behaving a little like pseudoelements (they could have dimensions and position).

@gked
Copy link

gked commented Jul 23, 2019

moved this issue to MicrosoftEdge/MSEdgeExplainers#73

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

3 participants