Opened 8 years ago

Closed 8 years ago

#12188 closed defect (fixed)

'dijit.css' causes dojox.charting could not be displayed in high contrast mode

Reported by: Siqi Owned by: bill
Priority: high Milestone: 1.6
Component: Dijit Version: 1.6.0b1
Keywords: Cc: Becky Gibson
Blocked By: Blocking:

Description

'dijit.css' causes dojox.charting could not be displayed in high contrast mode in IE. Steps to reproduce this scenario:

  1. Set up High Contrast in your windows system
  2. Open the dojox/charting/tests/test_fireEvent.html in IE

Result: The chart is not displayed correctly.

This is caused by the style class '.dijit_a11y' in dijit/themes/dijit.css at line 160. 'background-image:none' turns the background color of the chart into black in high contrast mode.

Attachments (1)

hight_contrast_issue.png (19.4 KB) - added by Siqi 8 years ago.
Screen shot of the chart under high contrast mode

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Siqi

Attachment: hight_contrast_issue.png added

Screen shot of the chart under high contrast mode

comment:1 Changed 8 years ago by bill

Cc: Becky Gibson added
Milestone: tbd1.6
Owner: set to bill
Status: newassigned

Good catch, looks to me like that rule is just there to simulate high-contrast mode (specifically, when the computer isn't set to high-contrast mode but user has specified a11y=true on our test files.

So I'll just remove that rule, unless Becky has an objection.

comment:2 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [23590]) Remove some .dijit_a11y rules which were apparently added to better simulate high-contrast mode when a11y=true flag is used, but aren't needed for real high-contrast mode. Fixes #12188.

Note: See TracTickets for help on using tickets.