Skip to content

Announcement text visible in High Contrast mode #767

Closed

Description

@svinkle

Description

The model-viewer screen reader live announcement text is visible in Windows High Contrast mode. This could lead to a confusing user experience as to why this text is visible for low-vision users.

<p role="status" style="position: absolute; color: transparent; margin: 0px; left: 0px; top: 0px; pointer-events: none;">All 3D models in the page have loaded</p>

Recommendation: Apply the .sr-only CSS class to visually hide the text. Applying a transparent color to an element renders the element as visible using native theme colors in High Contrast mode.

Live Demo

Screen Shot 2019-09-23 at 2 45 12 PM

Browser Affected

  • Chrome
  • Edge
  • Firefox
  • Helios
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

Versions

  • model-viewer: v0.6.0

Activity

  1. cdata commented on Sep 24, 2019

    @cdata
    Contributor

    Thanks for the find and the recommendation @svinkle !

  2. added
    flag: partner
    type: bug
    on Sep 24, 2019
  3. added this to the v0.7.0 milestone on Sep 24, 2019
  4. self-assigned this
    on Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arc: compatibilityflag: partnertype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions