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
refactor(multiple): default softDisabled to true (#32240)
* refactor(multiple): default softDisabled to true
Updates the default value of the input to across all ARIA components. This allows disabled items to receive focus by default, improving keyboard accessibility.
- Grid focus coordinates behavior has also been updated to correctly handle focus when is enabled.
* fix(cdk/a11y): update tests to reflect correct behavior
* refactor(cdk/a11y): refine softDisabled behavior and update tests\n\nThis commit refines the behavior across several a11y components (List, Listbox, Accordion, Tree) to ensure correct interaction between disabled states and navigation/selection. Specifically:\n\n- In , the method now explicitly checks if the list is disabled before allowing selection updates, preventing unintended selections when permits navigation.\n- In , a new method is introduced to clearly distinguish between a 'hard' disabled state (blocking all interaction) and a 'soft' disabled state (allowing navigation but blocking selection).\n- Corresponding tests in , , , and have been updated and expanded to accurately reflect and verify these refined interactions, ensuring that navigation and selection behave as expected in various disabled scenarios.
0 commit comments