Closed marcoscv-work closed 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".
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
My proposal is:
roleAlert="false"
cc @liferay-lexicon
This issue has been merged and will be released in DXP at https://issues.liferay.com/browse/LPS-170003
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-0My proposal is:
role="alert"
the default valueroleAlert="false"
cc @liferay-lexicon