elementRoles: related concepts vs. implicit semantics
eps1lon opened this issue · comments
Currently a <select />
element will be mapped to the listbox
and combobox
role. This does not match the table of *default implicit ARIA semantics: https://www.w3.org/TR/html-aria/#el-select. It should map to either one depending on size/multiple.
It seems like the map is generated from related concepts but I think those aren't necessarily equivalent. Or the html spec is incomplete.
If I'm reading this issue correctly, it seems like there is a similar problem with <input type="file">
, which is treated as a textbox
, while the spec seems to state that there is no corresponding aria role.
@eps1lon I'm going to run though all of https://www.w3.org/TR/html-aria/#el-input-file right now and make the code match the spec.
Closing. Reopen if further discussion is needed.