AccessibleForAll / AccessibleForAll/AccessibleWebDev

Keyboard focus going on hidden elements in smaller resolutions

未关闭
#379 3 条评论 0 个 reaction 已指派 1 人 已被 @SatyamSetia 认领 在 GitHub 查看
主要语言
TypeScript
星标
182
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
When Navigation items are opened on smaller resolutions and keyboard is used for navigation elements on the page then focus goes to page elements (which are actually hidden) after nav list.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://accessibleweb.dev/ (in mobile view)
2. Click on hamburger menu icon on top right
3. Use keyboard to navigate through focusable elements
4. Focus will move to hidden elements after completing nav list

**Expected behavior**
Focus should not move to hidden elements.

**Recording**
https://github.com/AccessibleForAll/AccessibleWebDev/assets/17885747/7f25aeb7-878f-4b56-8f50-5d6b10c3d4ee

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。