* Determines if key manager should avoid putting a given chip action in the tab index. Skip * non-interactive actions since the user can't do anything with them.
(action: MatChipAction)
| 387 | * non-interactive actions since the user can't do anything with them. |
| 388 | */ |
| 389 | protected override _skipPredicate(action: MatChipAction): boolean { |
| 390 | // Override the skip predicate in the base class to avoid skipping disabled chips. Allow |
| 391 | // disabled chip options to receive focus to align with WAI ARIA recommendation. Normally WAI |
| 392 | // ARIA's instructions are to exclude disabled items from the tab order, but it makes a few |
| 393 | // exceptions for compound widgets. |
| 394 | // |
| 395 | // From [Developing a Keyboard Interface]( |
| 396 | // https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/): |
| 397 | // "For the following composite widget elements, keep them focusable when disabled: Options in a |
| 398 | // Listbox..." |
| 399 | return false; |
| 400 | } |
| 401 | } |
nothing calls this directly
no outgoing calls
no test coverage detected