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

Fix Suggested Actions accessibility #2712

Merged
merged 5 commits into from
Dec 12, 2019
Merged

Conversation

corinagum
Copy link
Contributor

@corinagum corinagum commented Dec 11, 2019

Fixes #2713.

Changelog Entry

Fixed

Description

Narration of suggested actions is done via aria-live="polite".

Today, the suggested actions container does not exists when the suggested actions are received, thus, AT do not narrate the suggested actions because AT is designed not to narrate new content in the aria-live="polite" container. It only narrate changed contents.

Specific Changes

  • Modify SuggestedActions.js to show a persisted container even there are no suggested actions.

  • Testing Added (Will manual test)

    1. Turn on AT
    2. Type "suggested-actions"
    3. Expect: AT should narrate the content of suggested actions

Copy link
Contributor

@tdurnford tdurnford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.108% when pulling 2499967 on corinagum:sa-fix into c61576d on microsoft:master.

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

Successfully merging this pull request may close these issues.

Accessibility: Suggested actions are not narrated
3 participants