Skip to content

Commit 2194b16

Browse files
authoredOct 26, 2020
fix(ui5-messagestrip): fix close button accessibility (#2352)
1 parent 7e65e77 commit 2194b16

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
 

‎packages/main/src/MessageStrip.hbs

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<div class="{{classes.root}}"
22
id="{{_id}}"
3-
role="alert"
3+
role="note"
44
dir="{{effectiveDir}}"
55
aria-live="assertive"
6-
aria-labelledby="{{_id}}">
6+
aria-labelledby="{{_id}}"
7+
>
78

89
{{#unless noIcon}}
9-
<div class="ui5-messagestrip-icon-wrapper">
10+
<div
11+
class="ui5-messagestrip-icon-wrapper"
12+
aria-hidden="true"
13+
>
1014
{{#if iconProvided}}
1115
<slot name="icon"></slot>
1216
{{else}}

0 commit comments

Comments
 (0)
Please sign in to comment.