Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18617 closed defect (fixed)

Tree: accessibility violation when showRoot is false

Reported by: bill Owned by: bill
Priority: undecided Milestone: 1.9.8
Component: Dijit Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

In Tree, when showRoot=false, the (focusable part of the) hidden root node has role=presentation but also aria-selected=false

The WAI-ARIA property aria-selected is not supported on elements with WAI-ARIA role presentation.

HTML of the root node with violation:

<span id="dijit__TreeNode_0_label" aria-selected="false" tabindex="-1" role="presentation" class="dijitTreeLabel" data-dojo-attach-point="labelNode,focusNode" aria-expanded="true">The earth</span>

The violation goes away when showRoot is set to true.

Change History (4)

comment:1 Changed 4 years ago by bill

Milestone: tbd1.9.8
Status: newassigned

Fix backports cleanly to 1.9, but not to 1.8 for some reason.

comment:2 Changed 4 years ago by Bill Keese <bill@…>

Resolution: fixed
Status: assignedclosed

In 6e8fa9b0de75e96caeb9a0e71c5418086a0a0eb7/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:3 Changed 4 years ago by Bill Keese <bill@…>

In f5cba577c1ff753d54300958d4ddba878d71b130/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 4 years ago by Bill Keese <bill@…>

In f13217fc566997e44623f7096a7523c521c9c1e4/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.