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

[Tag]: Long tags that are truncated (indicated by ellipses) cannot be accessed using the keyboard. #11912

Open
ginabak opened this issue Apr 19, 2024 · 0 comments
Labels
Bug Something is broken and not working as intended in the system. untriaged

Comments

@ginabak
Copy link
Contributor

ginabak commented Apr 19, 2024

Summary

Long tags that are truncated (indicated by ellipses) cannot be accessed via keyboard

See screenshot (you'll notice that on hover the entire text is visible, but it's not visible via the keyboard):

Screenshot 2024-04-19 at 4 25 06 PM

Expected behavior

I would expect that long tags that are truncated be accessible via keyboard controls as the entire text of the tag is visible on mouse hover?

Actual behavior

Instead it's not keyboard accessible 👀
Re screenshot above (you'll notice that on hover the entire text is visible, but it's not visible via the keyboard).
When using voiceover, the entirety of the content is read, but the entirety of the content isn't visible on the screen.

Screenshot 2024-04-19 at 4 37 20 PM

Steps to reproduce

Link to sandbox

  1. Ensure you have a tag with really long content, for funsies, feel free to copy the text below:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer at ipsum quam. Aliquam fermentum bibendum vestibulum. Vestibulum condimentum luctus metus, sed sagittis magna pellentesque eget. Duis dapibus pretium nisi, et venenatis tortor dignissim ut. Quisque eget lacus ac ex eleifend ultrices. Phasellus facilisis ex sit amet leo elementum condimentum. Ut vel maximus felis. Etiam eget diam eu eros blandit interdum. Sed eu metus sed justo aliquam iaculis ac sit amet ex. Curabitur justo magna, porttitor non pulvinar eu, malesuada at leo. Cras mollis consectetur eros, quis maximus lorem dignissim at. Proin in rhoncus massa. Vivamus lectus nunc, fringilla euismod risus commodo, mattis blandit nulla.
  1. Hover your mouse on the long text, notice that the entire text is visible via a popover
  2. Now try to access the tag and notice you can't 😢

Are you using React components?

Yes

Polaris version number

No response

Browser

Chrome

Device

No response

@ginabak ginabak added Bug Something is broken and not working as intended in the system. untriaged labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken and not working as intended in the system. untriaged
Projects
None yet
Development

No branches or pull requests

1 participant