Opened 13 years ago
Closed 5 years ago
#5783 closed defect (patchwelcome)
slider: add aria-valuetext attribute
Reported by: | Becky Gibson | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | Accessibility | Version: | 1.0 |
Keywords: | Cc: | davidb, wwalker | |
Blocked By: | Blocking: |
Description (last modified by )
In FF3 it's now possible to expose the text equivalent for the current value using the optional aria-valuetext attribute. The numeric aria-valuenow attribute is still always required even if aria-valuetext is used.
For example: <div role="slider" aria-valuemin="1" aria-valuemax="3" aria-valuenow="2" aria-valuetext="medium"> If aria-valuenow changes to 1 or 3 then aria-valuetext should be changed as well.
If the value point is just a number anyway, then aria-valuetext is not necessary. and the attribute need not be present. Mozilla will fall back and using aria-valuenow for text of the value if no aria-valuetext attribute is present.
Need to investigate if this can be added or not.
Change History (14)
comment:1 Changed 13 years ago by
Summary: | slider: add aria-valuenow attribute → slider: add aria-valuetext attribute |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Milestone: | 1.1 → 1.2 |
---|
comment:4 Changed 13 years ago by
Cc: | davidb added |
---|
comment:5 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.2 → 1.3 |
comment:6 Changed 12 years ago by
Milestone: | 1.3 → 1.4 |
---|
this won't make 1.3 since it requires a fairly big change to the slider - thus moving to 1.4 as it is important to support.
comment:7 Changed 12 years ago by
I think the label widget could listen for slider onChange events. The slider startup method could call the label widget's startup method after being appended to the slider's domNode.
comment:9 Changed 12 years ago by
Cc: | wwalker added |
---|
comment:10 Changed 11 years ago by
Milestone: | 1.4 → future |
---|
Would really like to see this feature in the slider but is too late for 1.4
comment:11 Changed 10 years ago by
Owner: | changed from Becky Gibson to Douglas Hays |
---|
reassign due to inactive committer. please triage accordingly.
comment:12 Changed 7 years ago by
Owner: | Douglas Hays deleted |
---|---|
Status: | new → assigned |
comment:13 Changed 7 years ago by
Status: | assigned → open |
---|
comment:14 Changed 5 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | open → closed |
We will consider a pull request for this. Given the lack of interest in adding this feature, I'm closing it at patchwelcome.
sent mail to a few contributors on 2/12/08 - waiting for feedback
adding ARIA valuetext attributes to the slider. This would be used when the slider values are not numeric as in the small, medium, large example on forms/test_Slider.html. We can give the screen reader the actual text value (in addition to the numeric valuenow) so that it can be announced. This would make the text label type value more usable for screen reader users.
The easiest implementation would be to support only when discreteValues is specified as an integer and the label count matches the discreteValues count. I looked through the code and it seems too difficult to discover any labels since if there were two sets of labels I would not know which to use (and supporting RTL complicates that further). One option is to add a parameter to the labels to specify the "default" or "priority" labels. I am open to other suggestions.