-
Notifications
You must be signed in to change notification settings - Fork 137
Description
When looking into issue #1421, it got me reviewing all the roles that can be named / require naming, and a few things stuck out: I have broken down the topics of conversation by heading 2, with heading 3 being proposed actions. My last topic, 'questions' has no actions at present. All actions are of course my opinion and open to further discussion if people disagree.
name true, false, n/a
In the characteristics table, "Accessible Name Required" is marked as "true", "false" and also not at all for some roles which can be named. I would expect that it be "true" for all instances of roles which require a name. False for all roles which can be named, but do not require a name. Roles which prohibit naming would not need this table row
action item
All roles which require names need to be marked as "Accessible name required: true". All roles which can be named but do not require a name either need to be consistently marked as "Accessible name required: false" or not have that row displayed.
landmarks SHOULD
For landmark roles only form and region require names, which makes sense because without them these roles won't generally be exposed. However, I think other landmark roles would benefit from a "authors SHOULD name..." for when there are multiple instances of landmarks in a document.
action item
add an "authors SHOULD name..." sentence to landmark roles where more than one could exist in a document at a time.
roles which are missing name required
group- won't be exposed otherwise, so needs it similarly torole=regionandrole=formtab- like other interactive controls, needs a nameform- is marked as required, but it isn't marked as such under the listing in 5.2.8.4 Roles Supporting Name from Author - apparently my PR Editorial: capitalize "true" #1465 fixes this (thanks for the heads up @carmacleod)separator- if focusable, it would make sense to make sure it has a name
action item
Mark these roles as naming required - or fix instances where they aren't referred to as such.
roles which should not require a name
tooltip- a tooltip should be represented by its contents / almost never interacted with directly. so... not convinced it should have a required name.labelandlegend- acaptionis prohibited from being named. these should be prohibited from being named too as they would perform similar functions.
action item
Do not require names on these roles. label and legend should be changed to name prohibited to match caption.
questions
treeandtreegridrequire a name, but other similar roles (of varying similarities mind you)menu,menubar,toolbar,tablist, andnavigationdo not. shouldtree/treegridcontinue to require a name, or should some of these other roles require a name too?- do
alertdialog,dialog,table,grid,tabpanelneed a quantifier to their required name status? e.g., if these roles contained a heading, or were preceded by one, would that not provide the necessary context? I think they all would benefit from having a name, but I'm a bit torn on that being a requirement, especially when host language equivalents do not have such requirements, which then leads to the author confusion as outlined in Questions about role=dialog vs <dialog> #1421.