Elements that use .visually-hidden and .focusable arenโ€™t read when using VoiceOver in iOS or in Chrome

Created on 2 April 2015, over 9 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

Elements that use .visually-hidden and .focusable classes (such as the skiplink) are not read when using the VoiceOver screenreader in iOS (iPhone or iPad) or in Chrome on a Mac.

For an easy demo of this problem, try listening to the skiplinks here on d.o with VoiceOver either on an iOS device or in Chrome on a Mac. Even though d.o is using D7 and the classes have different names, the styles are the same as in D8.

This problem doesnโ€™t appear in the Seven theme because it sets the position to absolute when focusable elements are focused.

Proposed resolution

Using the HTML5 Boilerplate version of the visually-hidden and focusable styles and removing position: static from the focusable styles fixed this problem for me.

Required Tests

Let's make sure there are no regressions in these other AT:

  • JAWS - Untested
  • NVDA - Untested
  • VoiceOver - Untested
  • ChromeVox - Untested
๐Ÿ› Bug report
Status

Needs work

Version

10.1 โœจ

Component
CSSย  โ†’

Last updated about 10 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States dcmouyard

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024