Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Improve screenreader UX for media indicator #644

Merged
merged 6 commits into from
Jun 18, 2019
Merged

Conversation

andrew-nowak
Copy link
Contributor

Resolves #632

Overall change: Various screenreader UX related improvements for psammead-media-indicator.

Code changes:

  • offscreenText is not required
  • The offscreenText and the duration can be rendered independently.
  • REAMDE recommends that the offscreen text includes just 'Video' or 'Audio', not the duration. (This will be provided by the story promo).
  • The entire tree of the media indicator is marked as aria-hidden="true". The remaining offscreen text is an affordance to user agents that have incomplete aria support.

  • I have assigned myself to this PR and the corresponding issues
  • Tests added for new features
  • Test engineer approval

@andrew-nowak andrew-nowak added ws-home Tasks for the WS Home Team ws-fp-v1 labels Jun 17, 2019
@andrew-nowak andrew-nowak self-assigned this Jun 17, 2019
Copy link
Contributor

@dr3 dr3 left a comment

Choose a reason for hiding this comment

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

@david-boydell
Copy link

This looks good, ready for merge

@amywalkerdev amywalkerdev merged commit 5bd08a5 into latest Jun 18, 2019
@amywalkerdev amywalkerdev deleted the 632-media-indicator branch June 18, 2019 11:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Media Indicator improvements
5 participants