palantir/blueprint

MultiSelect and MultiSelect2 interrupts a11y focus order

開放

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

 (6 則留言) (0 個反應) (0 位負責人)TypeScript (2,167 個分叉)batch import
Browser: SafariP3Type: bughelp wanted

倉庫指標

星標
 (20,263 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南