-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New ARIA attribute for possible interactions like delete, edit, move #1385
Comments
Currently we help ourselves using custom attributing like "can be deleted" with hidden aria-describedby nodes but having a designated property would be very convenient. What the proposal lacks is clarity if usage instructions should be always part of the proposed attribute. and if so, which formal grammar has to be obeyed to. Grammar for key usage instruction could follow aria-keyshortcut rules. Pattern: Example: |
That would be a possibility. My suggestion was in the direction that only simple actions can be defined for which it is clear how they are to be operated, so that the keys do not have to be defined. Rather, screen readers can automatically output operating instructions, as they do for other interactive elements. Thus, the ARIA attribute remains platform-independent. I also find this useful because the shortcuts would not be noticeable to sighted keyboard users. In other words, it should be obvious to everyone how to perform the action. |
In my opinion, this would limit the scope of this attribute unnecessarily. It is also depending of the fact if the names of actions are just members of a typed enum or can be defined using any string. I agree that keyboard instructions could be optional. But you will encounter situations where you may need them even if the default may be clear. For instance, F2 for entering an edit mode is not necessarily self evident. |
There's a similar attribute here: https://w3c.github.io/personalization-semantics/content/#action-explanation. |
https://w3c.github.io/personalization-semantics/content/#action-explanation is a dead link unfortunately. i am also curious about this. |
It was moved to https://www.w3.org/TR/adapt-content/#action-explanation. |
the solutions to these would likely all fall under the scope of the secondary action proposal. i don't think there'd be much reason to do something specifically for these in addition to that. good calls outs here though, but we can probably close this per the linked issue where that'd be the final solution. |
Cool, closing as duplicate of the secondary actions proposal: #1440 |
Many frameworks have widgets such as tabs (1, 2, 3) trees, or selection lists where the individual entries can be deleted, edited, or moved. This is - if implemented correctly - possible with the mouse or the keyboard (e.g. Delete key for deleting). The entries usually have buttons with e.g. a pen icon for editing or an x icon for deleting. Partly these buttons also get the focus with Tab. However, this does not lead to correct screen reader output, because elements with the ARIA roles tab, option or treeitem must not contain any other interactive elements.
However, there is currently no ARIA attribute to indicate these actions in the screen reader. Therefore I suggest that one is introduced and the necessary keyboard operation is defined, e.g.
Related but not the same: #762
The text was updated successfully, but these errors were encountered: