Support css3-speech (previously Aural Style Sheet) properties in getComputedStyle




19 years ago
2 years ago


(Reporter: numizmatyka, Unassigned)


(Blocks 3 bugs, {access, css2})

Dependency tree / graph
Bug Flags:
blocking1.9.2 -
wanted1.9.2 -

Firefox Tracking Flags

(Not tracked)





19 years ago
Mozilla should have an option to voice read the web pages. CSS 2 has implemented 
 voice options. The voice-browsers standarts can be finded on W3C homepage.

Comment 1

19 years ago
Suggest marking a duplicate of Bug #12952 since they're both up the same street.

Comment 2

19 years ago

*** This bug has been marked as a duplicate of 12952 ***
Last Resolved: 19 years ago
Resolution: --- → DUPLICATE

Comment 3

19 years ago
verified dupe of bug 12952 -On the Windows platform, the browser does not expose
its UI and contents to
Microsoft Active Accessibility.  This means that a plethora of accessibility
aids (screen readers, magnifiers, etc.) will not work with Mozilla!

Comment 4

19 years ago
This should not be a duplicate of 12952. Support for CSS 2 audio & braille 
isn't the same as supporting MSAA. Blazie Engineering will help implement 
support for CSS 2. Contact for details.
Resolution: DUPLICATE → ---

Comment 5

19 years ago
over to Style system. aaron, is this a bug that you would like to own?
Assignee: asa → pierre
Component: Browser-General → Style System
Ever confirmed: true
QA Contact: doronr → chrisd

Comment 6

19 years ago
Asa, I don't want to own it, but I will ask my co-worker to own it within the 
next couple of months. We will talk about it more during my December visit.


19 years ago
Target Milestone: --- → Future

Comment 7

19 years ago
I think that the Aural properties are already parsed correctly but there is still 
a little bit of work to do to store them in the StyleContext.

It's not really a Style problem.  Most of the work has to be done in XPToolkit as 
described in bug 12952.

Comment 8

19 years ago
Pierre, excellent!
I've already got Mozilla speaking
I just need to know how to get to the aural and braille css properties from C++
or Javascript. I'm chomping at the bit to be able to do that.
What do you mean about getting them stored in the style context? How do I do
that/ who can do that for me?
Keywords: access

Comment 9

19 years ago
Here are the aural properties I need to get via getComputedStyle:
volume, speak, pause-before, pause-after, pause, cue-before, cue-after, cue,
play-during, azimuth, elevation, speech-rate, voice-family, pitch, pitch-range,
stress, richness, speak-punctuation, speak-numeral.

Also, there are @media types I'm interested, such as braille and embossed. How
do I use one of those in getComputedStyle?

Assignee: pierre → jst
Summary: Voice reading of pages by Mozilla → Support Aural Style Sheet properties


19 years ago
Blocks: 42417
Netscape's standard compliance QA team reorganised itself once again, so taking 
remaining non-tables style bugs. Sorry about the spam. I tried to get this done 
directly at the database level, but apparently that is "not easy because of the 
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian


18 years ago
OS: Windows 98 → All
Hardware: PC → All
jst: Should this go to Harish?
Summary: Support Aural Style Sheet properties → Support Aural Style Sheet properties in getComputedStyle
Indeed it should.

Aaron, when is this needed, the getComputedStyle() code is now in pretty good
shape (thanks to Harish) so adding support for this should be really easy. Let
us know how soon you need this.

Assignee: jst → harishd


18 years ago
Blocks: 75785

Comment 14

18 years ago
I just spoke to Harish about this bug. There is a fair amount of work to do in
the style system first: creating an Aural struct in the StyleContext, cascading
the aural properties, and mostly, testing that the value constraints,
inheritance and default values are all correct. I estimate this to be about a
week total, with 3 days for implementation and 2 for testing. Fortunately, we
have some excellent QA resources to help with the testing :)

Once the aural properties are in the style context, Harish's part should be
pretty easy...

CC'ing marek on this one for some help in prioritization. Pierre could certainly
do the style work as well as or better than I, but he is going on sabbatical
Real soon Now and may not be able to attend to this before leaving.

Comment 15

18 years ago
Please don't work in the implementation in nsStyleContext.cpp in the next 2 
weeks.  If I manage to check in my changes for bug 43457 before I leave, it will 
be much easier to support the aural properties.
last I checked, we _do_ support them and cascade them. For every single element
in the entire DOM. In fact some people have suggested we might want to save
some memory and speed by cheating and disabling them. (Not that I approve, IMHO
since they are not used by most people, the properties shouldn't be taking any
time or space at all, unless someone uses them.)

Comment 17

18 years ago
These properties are parsed and there might be a minimum level of DOM support 
because they appear in the CSS declarations, but we certainly don't cascade them.  
They are not stored in the style context and the nsComputedDOMStyle functions for 
aural properties all return a 'non-supported' error.


18 years ago
Blocks: 70022

Comment 18

18 years ago
Reassigned to myself but if I don't fix it before my sabbatical, please feel free 
to take it back.
Assignee: harishd → pierre


18 years ago

Comment 19

18 years ago
Not sure if you noticed, Pierre, but this is on the Hot List
( for Moz 0.9.

Comment 20

18 years ago
Moving to m0.9.
Target Milestone: Future → mozilla0.9

Comment 21

18 years ago
Set to P1/critical instead of P3/enhancement because it is on the Hot List.
Severity: enhancement → critical
Priority: P3 → P1

Comment 22

18 years ago
figured out that 0.9 should be ok.
Target Milestone: mozilla0.9 → mozilla0.9.1

Comment 23

18 years ago
0.9.1 that is.  This bug is not actually on Marek's hot list, it was added as a
dependency of a tracking bug that is on Marek's list, by a mozilla contributor,
without any comment as to why it was added.  Thus, we have no indication so far
that this is needed for MSAA support.


18 years ago
No longer blocks: 75785
Pierre: I stand corrected.

Comment 25

18 years ago
If it's not on the HotList, I can mark it Future and dependent on bug 43457...
Severity: critical → normal
Depends on: 43457
Priority: P1 → P3
Target Milestone: mozilla0.9.1 → Future


18 years ago
Depends on: 78961


18 years ago
No longer depends on: 78961

Comment 26

18 years ago
Shouldn't this also have keyword DOM2 attached (since it is one of the 2
remaining bugs blocking Bug 42417)?
Assigning pierre's remaining Style System-related bugs to myself.
Assignee: pierre → dbaron

Comment 28

17 years ago
batch: adding topembed per Gecko2 document
Keywords: topembed
Changing from topembed, to embed, as this is not blocking a major embedding
Keywords: topembedembed
Whiteboard: [adt3] [ETA Needed]


17 years ago
Blocks: grouper
FWIW, all aural stuff will most likely be heavily reworked in CSS3.

Comment 31

17 years ago
Bulk adding topembed keyword.  Gecko/embedding needed.
Keywords: topembed

Comment 32

17 years ago
Keywords: topembedtopembed-

Comment 33

17 years ago
Confirming Topembed-
Whiteboard: [adt3] [ETA Needed] → [adt3] [ETA Needed][T2]

Comment 34

15 years ago
Is still needed? (Note that CSS 2.1 deprecates the media "aural" and "suggests"
using "speech" instead.)
Keywords: css2

Comment 35

15 years ago
(In reply to comment #30)
> FWIW, all aural stuff will most likely be heavily reworked in CSS3.

Is CSS 3 still happening? I hear CSS work has ended.

Anyway, we will need this eventually, whether it's called speech or aural.

Comment 36

15 years ago
> Is CSS 3 still happening? I hear CSS work has ended.

*** Bug 317340 has been marked as a duplicate of this bug. ***
Assignee: dbaron → nobody
QA Contact: ian → style-system
Summary: Support Aural Style Sheet properties in getComputedStyle → Support css3-speech (previously Aural Style Sheet) properties in getComputedStyle


10 years ago
Flags: wanted1.9.2?
Flags: wanted1.9.2?
Flags: wanted1.9.2-
Flags: blocking1.9.2-
Status ping. Does anyone have implementing css3-speech on their TODO horizon?
I don't think so, but if I were aware that somebody had plans to use it, that might change.

Comment 40

8 years ago
The maker of the free screen reader Fire Vox would benefit greatly from having this bug fixed. See "Limitations of Firefox" here:


6 years ago
Blocks: css3test

Comment 41

5 years ago
This issue was opened in 2000.  Looking at it still isn't fixed in FF 29.
To make progress on this issue wouldn't it help to split it into smaller tasks? I.e. create an issue for each property?


Comment 43

5 years ago
So a new issue for each of these:
    7.1. The ‘voice-volume’ property
    7.2. The ‘voice-balance’ property 
    8.1. The ‘speak’ property
    8.2. The ‘speak-as’ property 
    9.1. The ‘pause-before’ and ‘pause-after’ properties
    9.2. The ‘pause’ shorthand property
    9.3. Collapsing pauses 
    10.1. The ‘rest-before’ and ‘rest-after’ properties
    10.2. The ‘rest’ shorthand property 
    11.1. The ‘cue-before’ and ‘cue-after’ properties
    11.2. Relation between audio cues and speech synthesis volume levels
    11.3. The ‘cue’ shorthand property 
    12.1. The ‘voice-family’ property
    12.2. The ‘voice-rate’ property
    12.3. The ‘voice-pitch’ property
    12.4. The ‘voice-range’ property
    12.5. The ‘voice-stress’ property 
    13.1. The ‘voice-duration’ property 

Also important to think of how this will be used by assistive technology too

Comment 44

2 years ago
Update: please use the editor's draft as it has substantial updates since the last public draft

Also the CSS WG resolved today to publish a new CR of CSS Speech, so that Editor's draft will likely shortly get snapshotted and published in TR:

Since this bug is about getComputedStyle in particular, creating meta bug for the module accordingly now...


2 years ago
Blocks: css-speech-1
You need to log in before you can comment on or make changes to this bug.