-
Notifications
You must be signed in to change notification settings - Fork 539
Description
What went wrong? π€
When navigating with the keyboard (Tab), moving focus onto a profile card automatically opens a popup without the user pressing Enter.
This breaks accessibility expectations and violates WCAG 2.1 β On Focus (3.2.1)
, which states that elements should not trigger context changes on focus.
Expected Behavior
Expected Behavior
Focusing on the card should only highlight it.
The popup should not open automatically.
Personally, I think pressing Enter should open the profile page itself (not a preview popup).
That would be more consistent with accessibility best practices.
Otherwise, if a popup is kept, it would require capturing focus inside the popup and managing tab order properly, which makes things more complicated and less intuitive.
Steps to Reproduce Issue
Navigate the feed using Tab.
Focus on a profile card.
Observe that a popup opens automatically without activation.
Solution Proposed
-
Remove the onFocus trigger for the popup for tab
-
On enter open the full profile page directly, instead of a popup preview, to simplify focus handling and improve accessibility.
Screenshots
Image below shows card with tab focus
Environment
No response
Browsers
Chrome
OS
Windows
Version of daily.dev
Most recent version
Additional Context
Code of Conduct
- I follow the conditions of this project.