Bug 484255

Summary: [HTML][assist] Add content assist allowed-roles-for-tag feature
Product: [ECD] Orion (Archived) Reporter: Carolyn MacLeod <Carolyn_MacLeod>
Component: JS ToolsAssignee: Carolyn MacLeod <Carolyn_MacLeod>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, Michael_Rennie
Version: unspecifiedKeywords: accessibility, triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Carolyn MacLeod CLA 2015-12-11 14:46:05 EST
HTML specifies whether or not a tag supports the ARIA "role" attribute.
If the "role" attribute is supported by the tag, the spec also says which values of "role" the tag supports (and some tags support all possible roles).

For example, <ul> can have any of the following roles: directory, group, list, listbox, menu, menubar, presentation, radiogroup, tablist, toolbar, tree.

Another example: <button> can have role=button, link, menuitem, menuitemcheckbox, menuitemradio, or radio.

It would be really cool and useful if this relationship was encoded in the HTML content assist.
Comment 1 Michael Rennie CLA 2017-01-10 15:45:17 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 2 Carolyn MacLeod CLA 2017-05-13 15:40:24 EDT
This is even more relevant now that authoring tools are being called out in section 508:
http://www-03.ibm.com/able/guidelines/ci162/accessibility_checklist.html#authoring
Comment 3 Carolyn MacLeod CLA 2017-05-13 17:07:45 EDT
See also bug 484254 (similar, but not the same).