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

Use pointer events instead of mouse events #1799

Closed
carmacleod opened this issue Mar 3, 2021 · 4 comments · Fixed by #2086
Closed

Use pointer events instead of mouse events #1799

carmacleod opened this issue Mar 3, 2021 · 4 comments · Fixed by #2086

Comments

@carmacleod
Copy link
Contributor

Following up on what we learned about pointer events from the slider example updates for touch screens and touch-based ATs. Special thanks to @patrickhlauke for his guidance, and to @jongund for the slider example updates, which included switching to pointer events.

We need to:

  • list all examples that still use mouse events
  • decide which order to update them in (one at a time!)
  • for every instance of the word "mouse" in code, tests, comments, the example prose, or even in the pattern description, consider whether "mouse" needs to be changed to "pointer", or perhaps "mouse and other pointer-based input devices", or similar (depending on whether in code or doc).
  • review each updated example and retest in all the places (including mobile/touch) and with all the ATs

Caniuse data for pointer events.
MDN documentation for pointer events.

@nschonni
Copy link
Contributor

nschonni commented Mar 3, 2021

Might also want to create a project in https://github.com/w3c/aria-practices/projects with @spectranaut script

@a11ydoer
Copy link
Contributor

@carmacleod can I close this issue since we implemented this at slider examples? Thanks for your consideraiton.

@carmacleod
Copy link
Contributor Author

@a11ydoer

@carmacleod can I close this issue since we implemented this at slider examples?

Nope. :)

This issue isn't about slider. It's about carousel and combobox and treeview and toolbar and datepicker and menubar and listbox and maybe other examples as well. We need to find all the places, fix them all, and retest. :)

@carmacleod carmacleod reopened this Mar 15, 2021
@a11ydoer
Copy link
Contributor

@carmacleod oh, I see the last bullet point from you. I updated the issue title so that we can easily understand the issue scope.

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

Successfully merging a pull request may close this issue.

3 participants