Skip to content
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

Mapping for input type="color" is incorrect for ATK (and IA2?) #139

Closed
joanmarie opened this issue Aug 13, 2018 · 1 comment
Closed

Mapping for input type="color" is incorrect for ATK (and IA2?) #139

joanmarie opened this issue Aug 13, 2018 · 1 comment

Comments

@joanmarie
Copy link
Contributor

joanmarie commented Aug 13, 2018

Most (all?) user agents implement support for input with a type attribute value of color as a push button which, upon activation, causes a color chooser to appear. For such implementations, the mapping should be to ATK_ROLE_PUSH_BUTTON. The resulting color chooser should have ATK_ROLE_COLOR_CHOOSER.

Docs: https://developer.gnome.org/atk/stable/AtkObject.html#AtkRole

ATK_ROLE_COLOR_CHOOSER: A specialized dialog that lets the user choose a color
(emphasis added)

Looking at https://github.com/LinuxA11y/IAccessible2/blob/master/api/AccessibleRole.idl#L82, it seems a similar change might be called for in the IA2 mappings.

EDIT: Both Gecko and WebKitGtk already expose the widget as ATK_ROLE_PUSH_BUTTON, so you have your two implementations already. 😄

@joanmarie
Copy link
Contributor Author

@asurkov: Thoughts on this issue -- especially in terms of IA2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant