Opened 7 years ago

Closed 7 years ago

#15693 closed defect (fixed)

[patch][ccla] dojox.layout.ExpandoPane - a11y: add aria attributes and keyboard controls

Reported by: mikeb Owned by: bill
Priority: undecided Milestone: 1.8
Component: DojoX Layout Version: 1.8.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

Improve accessibility of dojox/layout/ExpandoPane by:

  1. Adding aria-controls attribute to the Expando button to show relationship with the pane, adding aria-expanded to the pane container that collapses or expands
  2. Adding keyboard controls to the Expando button. Can now tab into the expando button and press enter key to toggle the state of the pane
  3. Fixed up the test pages so they are more accessible

Attachments (1)

dojox.layout.expandoPane_a11y_keyboard.patch (7.8 KB) - added by mikeb 7 years ago.
adds aria attributes and keyboard controls to expandopane

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by mikeb

adds aria attributes and keyboard controls to expandopane

comment:1 Changed 7 years ago by bill

Milestone: tbd1.8

No need to create your own keyboard handler, that's what ondijitclick is for. I'll check in a modified version.

comment:2 Changed 7 years ago by bill

Owner: set to bill
Resolution: fixed
Status: newclosed

In [29282]:

a11y support for ExpandoPane, modified version of mikeb's patch (IBM, CCLA), thanks, fixes #15693 !strict.

Note: See TracTickets for help on using tickets.