Merge "Updated notices icon images ARIA role to presentation"

This commit is contained in:
jenkins-bot 2020-02-24 20:37:38 +00:00 committed by Gerrit Code Review
commit f3862d3e5e

View file

@ -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