Opened 5 years ago

Last modified 2 years ago

#18212 new defect

dojox.mobile.Accordion incorrect ARIA implementation

Reported by: ricksbrown73 Owned by: Patrick Ruzand
Priority: undecided Milestone: 1.15
Component: DojoX Mobile Version: 1.10.0
Keywords: a11y Cc:
Blocked By: Blocking:

Description

When viewing the "Accordion" demo here: http://demos.dojotoolkit.org/demos/mobileGallery/demo-iphone.html

I noticed that there are two incorrectly applied aria attributes for each tab:

  • aria-posinset
  • aria-setsize

Neither of these attributes are applicable to the role "tab".

See: http://www.w3.org/TR/wai-aria/states_and_properties#aria-posinset http://www.w3.org/TR/wai-aria/states_and_properties#aria-setsize http://www.w3.org/TR/wai-aria/roles#tab

Change History (5)

comment:1 Changed 5 years ago by bill

Component: GeneralDojoX Mobile
Owner: set to Patrick Ruzand

comment:2 Changed 5 years ago by ricksbrown73

GRIDLAYOUT The "GridLayout?" example has a div with role="menu" but the menu contains none of the "Required Owned Elements", as described here: http://www.w3.org/TR/wai-aria/roles#menu

For your convenience, here are the "Required Owned Elements":

group → menuitemradio menuitem menuitemcheckbox menuitemradio

PICKERS The "Pickers" example has div elements with role="slider" which are missing "Required States and Properties", namely:

aria-valuemax aria-valuemin aria-valuenow

http://www.w3.org/TR/wai-aria/roles#slider

Let me know if you want separate tickets for these others.

FYI I found these issues with: https://chrome.google.com/webstore/detail/aria-validator/oigghlanfjgnkcndchmnlnmaojahnjoc

comment:3 Changed 5 years ago by Patrick Ruzand

Keywords: a11y added

comment:4 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:5 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.