CSS3 Speech

Control speech verbosity on iOS (Not sure of other AT support).

CSS Speech Module

W3C Candidate Recommendation 20 March 2012

CSS Code

<style>
.address, .phone, .zip {speak: digits;}
code {speak: literal-punctuation;}
.spell-out {speak:spell-out;}
</style>

Address Example speak:digits;

12345 Example St.
Austin, TX 78756

Phone Example speak:digits;

512-555-1234

Code Example speak:literal-punctuation;

UIImageView *view = [[UIImageView alloc] initWithImage:image]; view.accessibilityLabel = @"Apple Logo";

Abbreviation Example speak:spell-out;

NASA

Date Format Example speak:spell-out;

Date Format Example speak:literal-punctuation;

Address Example Normal

12345 Example St.
Austin, TX 78756

Phone Example Normal

512-555-1234

Code Example Normal

UIImageView *view = [[UIImageView alloc] initWithImage:image]; view.accessibilityLabel = @"Apple Logo";

Abbreviation Example Normal

NASA

Date Format Example Normal