Skip to content

Commit

Permalink
fix(ui5-messagestrip): fix close button accessibility (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid authored and ilhan007 committed Nov 19, 2020
1 parent 6b421b7 commit c3cfe61
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/main/src/MessageStrip.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<div class="{{classes.root}}"
id="{{_id}}"
role="alert"
role="note"
dir="{{effectiveDir}}"
aria-live="assertive"
aria-labelledby="{{_id}}">
aria-labelledby="{{_id}}"
>

{{#unless noIcon}}
<div class="ui5-messagestrip-icon-wrapper">
<div
class="ui5-messagestrip-icon-wrapper"
aria-hidden="true"
>
{{#if iconProvided}}
<slot name="icon"></slot>
{{else}}
Expand Down

0 comments on commit c3cfe61

Please sign in to comment.