-
Notifications
You must be signed in to change notification settings - Fork 27
Add mappings for ins and del #141
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
Comments
@melanierichards: This IA2 now exposes these via IA2_ROLE_CONTENT_INSERTION and IA2_ROLE_CONTENT_DELETION. And we'll be exposing them for ATK as well. What about for UIA? |
@melanierichards @stevefaulkner I've started a branch for updating Thoughts I was having: do we want to add a comment to each referencing that |
The
ins
anddel
elements currently are shown as having no accessible object for three of the four platforms. In addition, for ATK it states that exposure should be done via text attribute.In order to easily support presentation (or exclusion, should the user prefer) of edits marked up via
ins
anddel
, I think there should be an accessible object. IAccessible2 has just added roles for each of these: https://github.com/LinuxA11y/IAccessible2/blob/master/api/AccessibleRole.idl#L307. ATK and AT-SPI2 will soon, hopefully: https://gitlab.gnome.org/GNOME/atk/issues/2.In terms of the mappings for ATK, until the new roles have been created, I think using ROLE_SECTION makes sense (i.e. the same mapping as
div
becauseins
anddel
can have child elements.)We still need a way to make it easy for ATs in Linux to find these elements. A text attribute (be it formatting or something like
diff:del
/diff:ins
) doesn't make sense to me as Orca doesn't bother getting text attributes unless a user explicitly asks for them via command. Checking all text attributes on the slim chance there's anins
ordel
will not be performant. Orca does, for a variety of reasons, check object attributes. Thus I think exposure via object attribute is the way to go. Could we usexml-roles
for that? If not, an object attribute likediff:del
anddiff:ins
should work.The text was updated successfully, but these errors were encountered: