Opened 11 years ago

Closed 8 years ago

#8552 closed defect (fixed)

Allow developer to override wairole specified in template

Reported by: Becky Gibson Owned by: bill
Priority: high Milestone: 1.7
Component: Accessibility Version: 1.2.3
Keywords: Cc: Joseph Scheuhammer, davidb
Blocked By: Blocking:

Description

The developer should be able to override the ARIA role that has been set in the template. This would be useful for dialog where the better role might be alertdialog depending upon what the dialog is being used for. An alertdialog is similar to a tooltipDialog so another option is to change the role on tooltip dialog to alertdialog.

However, there are also cases where the developer may want to set an explicit role on a contentPane (although this should already work because we currently do not set a role in the contentPane template.

Change History (3)

comment:1 Changed 10 years ago by Becky Gibson

Milestone: 1.4future

comment:2 Changed 8 years ago by bill

Milestone: future1.7
Owner: changed from Becky Gibson to bill
Status: newassigned

I'll grab this, I thought I fixed it already in #12377 but it's not handling role.

comment:3 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [24282]) If app specifies role, map it to the DOMNode or focusNode (if focusNode defined), fixes #8552 !strict

Note: See TracTickets for help on using tickets.