Repository navigation
feat(WASM): Enable A11y voice over capabilities - #4147
Merged
jeromelaban merged 5 commits intoOct 6, 2020
Merged
Conversation
ajpinedam
force-pushed
the
dev/anpi/a11y,wasm.voice.over
branch
from
September 25, 2020 03:19
88eec75 to
8b2dbc6
Compare
dr1rrb
approved these changes
Sep 25, 2020
carldebilly
approved these changes
Sep 25, 2020
jeromelaban
reviewed
Sep 25, 2020
jeromelaban
reviewed
Sep 25, 2020
| var role = FindHtmlRole(uiElement); | ||
| if (role != null) | ||
| { | ||
| uiElement.SetAttribute("role", role); |
Member
There was a problem hiding this comment.
Is it necessary to set aria-label if role is null ?
Contributor
Author
There was a problem hiding this comment.
In those cases, we might not have the full requirement (role + aria-label) but it would make it easy to find for errors in the future. Meaning: arial-label available but no role it's a matter of the casing.
Contributor
Author
There was a problem hiding this comment.
@jeromelaban updated the PR to set the arial-label only when a role is found. This way we can use the method overload suggested by @carldebilly. Two birds one shot. :)
jeromelaban
approved these changes
Sep 28, 2020
Member
|
You may also want to add some documentation about what works and what does not, and how to use it. |
jeromelaban
approved these changes
Oct 6, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): #
closes #1141
PR Type
What kind of change does this PR introduce?
What is the current behavior?
WASM target did not support screen reader capabilities.
What is the new behavior?
WASM target does support A11y screen reader capabilities
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):