Skip to content

Support for speak-as property to control aural presentation #114

@alexlehner86

Description

@alexlehner86

Description
All browsers should support the CSS 'speak-as' property that allows authors to determine the aural presentation of content; e.g., how a screen reader should read it. For example, by setting the value 'digits' for a number, it will be read one digit at a time.

Specification
CSS Speech Module (speak-as property)

Tests
There are currently no web-platform-tests (on https://wpt.fyi) for the feature. I've manually tested the feature in Firefox, Chrome and Safari with the screen readers NVDA, VoiceOver and TalkBack. Only the combinations VoiceOver/Safari and VoiceOver/TalkBack on iOS worked.

Rationale
Numbers, abbreviations and equations can pose a challenge for screen reader users. Using the speak-as CSS property, authors could determine how text should be read to improve the user experience for screen reader users.

There are hundreds of relating questions on StackOverflow (I only include a few below) as well as several dev blog posts:

At the moment, there are possible workarounds available to developers, where they use CSS and/or ARIA attributes to enforce a certain pronunciation. But these workarounds are insufficient and create severe accessibilty problems. Also, screen reader user should retain control over how content is pronounced (e.g. via verbosity settings).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions