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

[JS] Prevent factsets from presenting as tables for accessibility #4124

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

paulcam206
Copy link
Member

@paulcam206 paulcam206 commented Jun 5, 2020

Related Issue

VSO #23950960

Description

We build factsets in JS using a <table>. However, this has semantic meaning for screenreaders, which causes factsets to be read awkwardly. The fix (as recommended) is to set role="presentation" on the <table> element. This does not cause the screenreader to skip the content (as the child elements have no role set), but does cause it to treat the content normally.

How Verified

  • Local build
  • Local inspection
  • Narrator
Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented Jun 5, 2020

Hi @paulcam206. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes.

@paulcam206 paulcam206 requested a review from dclaux June 5, 2020 16:55
@paulcam206 paulcam206 added Area-Accessibility Bugs around feature accessibility Platform-JavaScript Bugs or features related to the JavaScript renderer labels Jun 5, 2020
@paulcam206
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@paulcam206 paulcam206 merged commit e9a901a into master Jun 5, 2020
@paulcam206 paulcam206 deleted the paulcam/aria-fixes branch June 5, 2020 17:12
@shalinijoshi19 shalinijoshi19 added this to the 20.06 milestone Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Accessibility Bugs around feature accessibility Platform-JavaScript Bugs or features related to the JavaScript renderer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants