Created by: andresgalante
Changes alerts close btn position on the markup to improve accessibility
This PR is a simple order change of the close btn on alerts that improves the way a screen reader reads them.
Instead of going:
"Close, Holy guacamole! You should check in on some of those fields below, alert, Close, button"
now it goes:
"Holy guacamole! You should check in on some of those fields below, Close, alert, Close, button"
Which IMO it makes more sense.
Plus:
- If the notification has an
a
a screen reader will tab order first the link then the close btn - this solution is more flexible since the user can put the btn markup anywhere and it'll render always on the top right corner disregarding the amount of text that the alert has.
Fixes #21889 (closed).