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

[TooltipMenu] [MenuItem] Enter по ссылке в <TooltipMenu /> IF-568 #2933

Open
Eazymov opened this issue Jun 29, 2022 · 1 comment
Open
Labels
a11y Issues related to a11y of components bug

Comments

@Eazymov
Copy link
Contributor

Eazymov commented Jun 29, 2022

@skbkontur/react-ui@4.1.1
Chrome@103.0.5060.53
Ubuntu@22.04

Код:

<TooltipMenu caption="Caption">
  <MenuItem href="/some-link" component="a">
    Some link
  </MenuItem>
</TooltipMenu>

Проблема:

  1. Кликаю по Caption.
  2. Нажимаю arrow down, ссылка в тултипе получает фокус.
  3. Нажимаю Enter, перехода по ссылке не происходит, вместо этого тултип закрывается.

Как понимаю, настоящий фокус при нажатии на ссылку висит на Caption, из-за чего возникает проблема.

@JackUait
Copy link
Contributor

Привет! Спасибо за ишью. Завёл задачу, подумаем что с этим можно сделать

@dzekh dzekh changed the title [TooltipMenu] [MenuItem] Enter по ссылке в <TooltipMenu /> [TooltipMenu] [MenuItem] Enter по ссылке в <TooltipMenu /> IF-568 Jul 21, 2022
@dzekh dzekh added bug a11y Issues related to a11y of components labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issues related to a11y of components bug
Development

No branches or pull requests

3 participants