Opened 12 years ago

Closed 12 years ago

#3204 closed defect (fixed)

ProgressBar: replace annnotate parameter with CSS

Reported by: bill Owned by: simonjb
Priority: high Milestone: 0.9beta
Component: Accessibility Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

As per Becky's mail, Web Content Accessibility Guidelines (WCAG) 2.0 states that "Any information that is conveyed by color differences is also simultaneously visually evident without the color differences". And as per Dijit philosophy all styling should be controlled by CSS.

Therefore, we should remove the anotate parameter to the ProgressBar? widget (and associated tests) and instead control that via CSS (where Tundra theme always displays the number but other themes may choose not to).

Change History (2)

comment:1 Changed 12 years ago by simonjb

Status: newassigned

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [8861]) * fixes high-contrast mode (fixes #3134)

  • now using dijit_a11y to implement high-contrast, removed special bordered div
  • made bar visible without tundra (just dijit.css) (background-color:#aaa)
  • bar sizing is now set by percent rather than pixels (fixes #2803)
  • fixed label positioning on vertical progress bar (fixes #3107)
  • removed the annotate property (fixes #3204)

Patch from Simon Bates (CLA on file)

Note: See TracTickets for help on using tickets.