Closed danielagattoni closed 4 years ago
✅ This PR (commit SHA 782300f) successfully built (bundle ID fa7191890) VIEW LOGS
🌏 Permanent preview links of latest version on this branch: EDIT
https://fannypack--develop--fixa11y-alert-icon-hidden.branch.linc-preview.sh/ https://fannypack--production--fixa11y-alert-icon-hidden.branch.linc-preview.sh/
Given the icon on the
<Alert/>
component is mainly used to visually represent a message status, I'd suggest to remove it as it doesn't enhance the readability when using assistive technologies. Also, props such astitle
and a description viachildren
should be descriptive enough for the User to understand the kind of alert they are receiving.Result with aria-hidden:
How to test locally: Copy and Paste these snippets on the Alert code area at http://localhost:3000/components/alert?theme=default