mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "Updated notices icon images ARIA role to presentation
"
This commit is contained in:
commit
f3862d3e5e
|
@ -47,7 +47,11 @@
|
|||
if ( this.model.getIconURL() ) {
|
||||
$icon = $( '<div>' )
|
||||
.addClass( 'mw-echo-ui-notificationItemWidget-icon' )
|
||||
.append( $( '<img>' ).attr( 'src', this.model.getIconURL() ) );
|
||||
.append( $( '<img>' ).attr( {
|
||||
src: this.model.getIconURL(),
|
||||
role: 'presentation',
|
||||
alt: ' '
|
||||
} ) );
|
||||
}
|
||||
|
||||
// Content
|
||||
|
|
Loading…
Reference in a new issue