Opened 15 years ago

Closed 15 years ago

#3416 closed defect (fixed)

wai.js a11y style check needs to inline the CSS style it needs

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


wai.js should use cssText on the element it uses to check for a11y, instead of relying on dijit.css being included in the page. The user may decide not to do that, and having it inline will prevent issues in an async style sheet load scenario.

Change History (2)

comment:1 Changed 15 years ago by James Burke

Owner: changed from bill to James Burke
Status: newassigned

I'll take a shot at changing this. Bill said to use alt-shift-prtscr to shift into the a11y mode that the wai.js is trying to detect.

comment:2 Changed 15 years ago by James Burke

Resolution: fixed
Status: assignedclosed

(In [9141]) Fixes #3416: Move a11y style check so that it does not depend on an external style sheet. Tested with IE 6, FF 2, Safari 2 and Opera 9.21. IE 6 and FF 2 browsers use the high contrast mode of the OS, and the code correctly detected the high contrast mode.

Note: See TracTickets for help on using tickets.