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

[BUG]: element_scrollable_tabbable false positive for textarea #1911

Closed
nmerget opened this issue May 21, 2024 · 0 comments · Fixed by #1964
Closed

[BUG]: element_scrollable_tabbable false positive for textarea #1911

nmerget opened this issue May 21, 2024 · 0 comments · Fixed by #1964
Assignees
Labels
Bug Something isn't working engine Issues in the accessibility-checker-engine component priority-1 (high) Ready for QA T62 user-reported Issues identified outside of the core team

Comments

@nmerget
Copy link

nmerget commented May 21, 2024

Project

accessibility-checker for Node

Browser

Chrome

Operating system

Windows

Description

By adding textarea { overflow-y: scroll; } as css and for html

<label for="story">Tell us your story:</label>

<textarea id="story" name="story" rows="1" cols="33">
It was a dark and stormy night...
It was a dark and stormy night...
It was a dark and stormy night...
It was a dark and stormy night...
</textarea>

the accessibility-checker throws element_scrollable_tabbable as an issue.

The problem is that the prefilled content of the textarea isn't a node and the textarea itself works with keyboard interaction. But here it doesn't count as TabbableChildren. Maybe the solution is to add another if statement for textareas like you did it here.

Steps to reproduce

Use the Chrome-Extension on https://output.jsbin.com/baputiwipu/1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working engine Issues in the accessibility-checker-engine component priority-1 (high) Ready for QA T62 user-reported Issues identified outside of the core team
Projects
None yet
4 participants