v31.8.0
Minor Changes
-
useToast: Add
closeLabelprop (#1079)To support translations, the close button can now be customised using the
closeLabelprop.EXAMPLE USAGE:
<Button onClick={() => showToast({ closeLabel: 'Close', // ... }) } />
-
Autosuggest, TextField: Add
clearLabelprop (#1079)To support translations, the clear button in the field can now be customised using the
clearLabelprop.EXAMPLE USAGE:
<Autosuggest clearLabel="Clear" // ... />
-
Loader: Apply WAI-ARIA alert pattern (#1079)
To improve the feedback of the
Loaderprovided to screen readers, we now apply the WAI-ARIA Alert Pattern using an assertive level of importance.
Patch Changes
-
IconThumb: Update artwork (#1080)
-
MenuRenderer, OverflowMenu: Mouse leave no longer affects focus state (#1077)
Previously, moving the mouse from hovering a menu item to outside of the menu would shift focus the to the menu trigger. This is not a requirement for accessibility and introduces undesired behaviour when the trigger is used in conjunction with TooltipRenderer.
Note: As per the menu accessibility guidelines, focus will still be returned to the trigger when clicking outside the menu, selecting a menu item or pressing the escape key.