You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): improve ATFocus, Combobox, Internals, Listbox, and RovingTabIndex controllers (#2963)
* fix(core): if `relatedTarget` is toggle, let `#onClickButton` manage toggle behavior
* fix(core): ensure RTI syncs AT focus when using a combo of mouse and keyboard
* fix(core): force to always search forward for Home and backward for End key presses
* fix(core): hide listbox on Shift+Tab when moving to the toggle button
* feat(core): add optional `setItems` callback to listbox and combobox controller
* Revert "feat(core): add optional `setItems` callback to listbox and combobox controller"
This reverts commit ba6a0dc.
* feat(core): let the internals controller handle `aria-posinset` and `aria-setsize`
* fix(core): narrow host type for combobox, internals controllers
* fix(core): allow dynamically added options to receive keyboard focus
* fix(core): update host when setting listbox items
* fix(core): getAria(PosInSet/SetSize) query attributes first, fall back to EI
Attributes are user settings, internals are defaults, so we need to try
the attributes first
* fix(core): map shadow item back to light dom
* fix(core): manage state when initializing items in ComboboxController
* refactor(core): simplify arraysAreEquivalent
* fix(core): refresh items on `#show` so that dynamically added options are keyboard focusable
* fix(core): fix arrow up/down focus wrapping after initial selection has been made
* fix(select): don't steal browser focus on page load
* test(select): change test to call `focus()` vs using the `focus` method
* fix(core): add explicit extension for `ATFocusController` type import
* test(core): atFocusedItemIndex setter
* refactor(core): atFocusedItemIndex setter
refactors for readability
* refactor(core): make ATFocusController initItems internal
* docs: changesets
---------
Co-authored-by: Benny Powers <web@bennypowers.com>
0 commit comments