Opened 15 years ago

Closed 15 years ago

#2182 closed defect (worksforme)

update button widgets to work with images turned off

Reported by: Becky Gibson Owned by: davidb
Priority: high Milestone: 0.9beta
Component: Accessibility Version: 0.9
Keywords: a11y Cc: Douglas Hays
Blocked By: Blocking:


The button widgets are created using img elements so they will display in high contrast mode, but there is no alt attribute on the images so the button will not display properly when images are turned off.

Add alt text to indicate the button text and the arrows for the drop down buttons (suggest "open" or "V" as the alt text for the drop down arrow).

Also add a border to outline the button when images are not displayed. You'll have to play with the border colors to match the button color or the background color if you do not want them displayed in "normal" mode. Or, create an accessible extension to the button classes which adds the border styles when accessibility mode (high contrast or images off ) is detected. Search the widget source for dojo.widget.a11y. for examples of accessible extensions to widgets.

Change History (7)

comment:1 Changed 15 years ago by Becky Gibson

Status: newassigned

comment:2 Changed 15 years ago by bill

Cc: Douglas Hays added

Doug is working on redoing the buttons for some other stuff, so should definitely consult with him. I wonder though if high-contrast mode should just be a normal html button, rather than all the fancy stuff with images.

comment:3 Changed 15 years ago by Becky Gibson

buttons are now created with button element - still need to update to use Doug's CSS arrow or img arrow for drop down buttons. Will need addtional a11y work for roles and states and may make combobutton have two tab stops - still investigating

comment:4 Changed 15 years ago by davidb

Owner: changed from Becky Gibson to davidb
Status: assignednew

comment:5 Changed 15 years ago by davidb

Status: newassigned

comment:6 Changed 15 years ago by davidb

Milestone: 0.90.9beta

comment:7 Changed 15 years ago by davidb

Resolution: worksforme
Status: assignedclosed

Looks like this has been fixed in trunk.

Note: See TracTickets for help on using tickets.