Created by: Lausselloic
Hello, @Johann-S I've improve some part of the toaster
-
improve accessibility by adding role="alert" aria-live="assertive" aria-atomic="true" on samples and write some more details onto how make it more accessible (maybe need an english review @patrickhlauke )
-
also for accessibility, I think it's really better to let user control the toaster and close it by itself (otherwise AT will vocalise the content but the user can't find it into the page) maybe need a way to inform the user with AT that's an autoclosed component? Haven't find a good idea with aria :-(
-
update the hide method to close toaster immediatly on click, implement data-dismiss="toast" like for modal
-
add a unit test for that purpose