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
Improve Accessibility: Focus Management on Snackbar Close
This commit enhances the accessibility of the snackbar component by implementing advanced focus management when the snackbar is manually closed. Upon closure, the component now attempts to return focus to the last element that was focused before the snackbar opened. If this element no longer exists or is not focusable, the focus is automatically shifted to the first focusable element on the page. This improvement ensures a more seamless and accessible user experience by maintaining logical focus flow, thereby aiding users who rely on keyboard navigation and screen readers.
test('Snackbar call the onOpenClose function, when the functions is provider and the snackbar closes automatically due to the closeTimeOut if neither focus or hovering',()=>{
182
+
it('Snackbar call the onOpenClose function, when the functions is provider and the snackbar closes automatically due to the closeTimeOut if neither focus or hovering',()=>{
0 commit comments