Opened 10 years ago

Last modified 4 years ago

#4739 open feature

Slider: Accessibility

Reported by: Scott González Owned by:
Priority: major Milestone: none
Component: ui.slider Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Add ARIA support to slider.

See related ticket for Fluid.

Attachments (1)

slider_additions_to_fluid_patch_HH.txt (12.0 KB) - added by hhillen 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by hhillen

comment:1 Changed 10 years ago by hhillen

I attached a patch that builds on the existing patch created by Fluid.

It fixes the following:

  • Omission of "unittext" option used to result in the aria-valuetext attribute containing "null" as unit. Now, if the unittext option is not specified, aria-valuetext is not set.
  • Aria-valuetext was not set until the value is actually changed. Now it is set when the slider is initialized.
  • Changes to range slider handles now updated the aria-valuemin/max value of the opposite thumb
  • Added two options for labeling slider handles (implemented using the 'title' attribute):

1: The "label" option can be used to specify a single label. If the slider has multiple thumbs, this label will be given to each handle, but with an index concatenated (e.g. "color 1", "color 2", etc) If the slider is a range slider, both thumbs will have the label, followed by "min" and "max" (e.g. "price range min", "price range max" 2: The "labels" options can be used to specify an array of labels for multiple thumb sliders (e.g. "color picker red", "color picker blue", "color picker green".

comment:2 Changed 7 years ago by Scott González

Type: enhancementfeature

comment:3 Changed 7 years ago by Scott González

Milestone: 1.9.01.11.0

comment:4 Changed 7 years ago by petersendidit

Status: newopen
Summary: Add ARIA to sliderSlider: Add ARIA to slider

comment:5 Changed 7 years ago by Scott González

Summary: Slider: Add ARIA to sliderSlider: Accessibility

comment:6 Changed 7 years ago by Scott González

#7849 is a duplicate of this ticket.

comment:7 Changed 5 years ago by Scott González

Milestone: 1.11.0none

comment:8 Changed 4 years ago by Scott González

#14242 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.