palantir/blueprint

MultiSelect and MultiSelect2 interrupts a11y focus order

Open

#5,457 建立於 2022年7月21日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
Browser: SafariP3Type: bughelp wanted

描述

Environment

  • Package version(s): @blueprintjs/core ^4.6.1, @blueprintjs/select: ^4.5.0
  • Operating System: macOS Monterey Version 12.4
  • Browser name and version: Safari Version 15.5 (17613.2.7.1.8)

Code Sandbox

Link to a minimal repro (fork this code sandbox): https://blueprintjs.com/docs/#select/multi-select2 https://blueprintjs.com/docs/#select/select2

Steps to reproduce

  1. Set focus on the example MultiSelect2 component container div via mouse click
  2. Cycle through page elements via tab key

Actual behavior

Focus gets reset to the page's first focusable element.

blueprint-MultiSelect2

Expected behavior

The next focusable element within the DOM hierarchy should be focused as in the Select2 component.

blueprint-Select2

貢獻者指南

MultiSelect and MultiSelect2 interrupts a11y focus order · palantir/blueprint#5457 | Good First Issue