liferay / clay

A web implementation of the Lexicon Experience Language
http://clayui.com
Other
208 stars 483 forks source link

Alert: role-alert announcement should be deactivated in some cases #5222

Closed marcoscv-work closed 1 year ago

marcoscv-work commented 1 year ago

In some cases in portal we use visual warnings or visual info box, they are currently read as priority text by screen readers because they have always role="alert".

In some cases, it is necessary for DXP functionality that we do not provide role="alert", example: https://www.figma.com/file/nVGg94HV43eQVkjsEl6bft/LPS-167668---New-pattern-for-fragments-mapped-to-entities-the-user-does-not-have-permissions-on?node-id=26%3A131059&t=Dv8ZlHcL2WZTelQx-0

image

My proposal is:

cc @liferay-lexicon

github-actions[bot] commented 1 year ago

This issue has been merged and will be released in DXP at https://issues.liferay.com/browse/LPS-170003