Skip to content

Commit

Permalink
feat(core): add missing title text to preferences button
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed May 11, 2022
1 parent c9514d9 commit 895d7c2
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -363,6 +363,7 @@ function initPref( window ) {
button.id = CLASS + '-toggle';
// eslint-disable-next-line mediawiki/class-doc
button.classList.add( CLASS + '__button', 'citizen-header__button', 'citizen-header__button--icon' );
button.setAttribute( 'title', mw.message( 'preferences' ).text() );
button.setAttribute( 'aria-label', mw.message( 'preferences' ).text() );
button.setAttribute( 'aria-controls', CLASS + '-panel' );
button.setAttribute( 'aria-expanded', false );
Expand Down

0 comments on commit 895d7c2

Please sign in to comment.