Bug 484255 - [HTML][assist] Add content assist allowed-roles-for-tag feature
Summary: [HTML][assist] Add content assist allowed-roles-for-tag feature
Status: REOPENED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility, triaged
Depends on:
Blocks:
 
Reported: 2015-12-11 14:46 EST by Carolyn MacLeod CLA
Modified: 2017-05-13 17:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).