palantir/blueprint

Background elements of Dialog/Drawer should be unfocus-able and hidden. Headers in background should not show up in screenreader heaver navigation

开放

#6,756 创建于 2024年4月4日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
Domain: accessibilityStatus: needs proposalType: bughelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Environment

  • Package version(s): 5.8.2
  • Browser and OS versions: Edge, Chrome, MacOS Sonoma 14.4

Feature request

When a Dialog or Drawer is open, the background elements should be un-focusable and hidden. This is backed up by this source and this source. Otherwise, the screenreader cursor could focus on something behind the Dialog/Drawer.

Examples

Currently when navigating by headings (CTRL+OPT+U on Mac) using a screenreader, currently when a Dialog or Drawer is open, the headers in the content underneath the overlay are also included in header navigation, which is unexpected.

贡献者指南