Using CSS Speech speak-as property?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
bowersox's picture

Is anyone using the http://www.w3.org/TR/css3-speech/? And are there ways Drupal 8 should use this to improve screenreader accessibility?

Here are some examples of this proposed CSS3 Speech syntax:

code {
  speak-as: literal-punctuation;
}
.phone-number, .zipcode {
  speak-as: digits;
}

Are there places in Drupal's admin area or in Drupal sites where we should be using this? Or are most screenreaders smart enough to read a zip code or phone number as digits anyway?

Comments

That sounds useful

mgifford's picture

I'd looked at the CSS3 Speech page before and couldn't think of a good use of it that was at all practical. However, that one makes sense!

Unfortunately, I don't know anyone who is using this CSS feature.

ps. the link above should be edited as it doesn't actually go to http://www.w3.org/TR/css3-speech/

Phone Number

mgifford's picture

Now that html5's phone tag is in core, that might be one place. However hopefully AT is smart enough that it's not needed.

Accessibility

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week