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

"Home" and "End" keys don't work in the search bar #11079

Closed
3 tasks done
kuba-orlik opened this issue May 6, 2024 · 3 comments
Closed
3 tasks done

"Home" and "End" keys don't work in the search bar #11079

kuba-orlik opened this issue May 6, 2024 · 3 comments
Labels
♿ a11y An MDN Web Docs accessible by everyone 🐛 bug Something isn't working, or isn't working as expected closed: duplicate This issue or pull request already exists closed: wontfix Out of scope, too much effort, or working as intended 🔎 search Search feature ux make the user experience awesome

Comments

@kuba-orlik
Copy link

Summary

The "End" and "Home" keyboard keys do not move the cursor or selection while entering text in the search bar:

image

URL

https://developer.mozilla.org/

Reproduction steps

  1. Go to MDN
  2. Enter some text in the search bar
  3. Press Home

Expected behavior

The cursor should move to the beginning of the text

Actual behavior

Nothing happens

Device

Desktop

Browser

Firefox

Browser version

Pre-release (e.g. Beta, Nightly or Canary)

Operating system

Linux

Screenshot

Screencast.from.2024-05-06.18-27-37.webm

Anything else?

No response

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 6, 2024
@mirunacurtean mirunacurtean added 🐛 bug Something isn't working, or isn't working as expected ♿ a11y An MDN Web Docs accessible by everyone ux make the user experience awesome 🔎 search Search feature and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels May 14, 2024
@mirunacurtean
Copy link

@kuba-orlik Thank you for your contribution. This is in line with to a list of similiar accesibility issues when it comes to search.

One note, while Home and End keys cannot be used to navigate the search box input, they can be used to navigate the search results.

Yari.11079.mov

@caugner
Copy link
Contributor

caugner commented May 14, 2024

Thanks @mirunacurtean.

@kuba-orlik See this comment for our position on this, and an alternative. I'm closing this as won't fix.

@caugner caugner closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
@caugner caugner added closed: wontfix Out of scope, too much effort, or working as intended closed: duplicate This issue or pull request already exists labels May 14, 2024
@kuba-orlik
Copy link
Author

Taking over native keyboard shortcuts is setting a very bad example to the web developer community. It's only a matter of time when I see another broken text input and hear "even MDN does it" as a reponse from the dev.

I kindly ask you to reconsider. I can help with the programming efforts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♿ a11y An MDN Web Docs accessible by everyone 🐛 bug Something isn't working, or isn't working as expected closed: duplicate This issue or pull request already exists closed: wontfix Out of scope, too much effort, or working as intended 🔎 search Search feature ux make the user experience awesome
Projects
None yet
Development

No branches or pull requests

3 participants