mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Fix: non descriptive announcement of version no.
When user navigate to the version number, the screen reader only narrates the hexadecimal number associated with the version label without providing context about what this number represents Bug: T245470 Change-Id: If9cccac0d71de2de5da96a3a053d21e3deb0d80c
This commit is contained in:
parent
d20925df7f
commit
dd91c3cd09
|
@ -288,17 +288,15 @@ ve.ui.MWHelpPopupTool.prototype.onSelect = function () {
|
|||
$version
|
||||
.removeClass( 'oo-ui-pendingElement-pending' )
|
||||
.empty()
|
||||
.append( $( '<span>' )
|
||||
.addClass( 've-ui-mwHelpPopupTool-version-label' )
|
||||
.text( ve.msg( 'visualeditor-version-label' ) )
|
||||
)
|
||||
.append( ' ' )
|
||||
.append( $( '<a>' )
|
||||
.addClass( 've-ui-mwHelpPopupTool-version-link' )
|
||||
.attr( 'target', '_blank' )
|
||||
.attr( 'rel', 'noopener' )
|
||||
.attr( 'href', extension[ 'vcs-url' ] )
|
||||
.text( extension[ 'vcs-version' ].slice( 0, 7 ) )
|
||||
.append( $( '<span>' )
|
||||
.addClass( 've-ui-mwHelpPopupTool-version-label' )
|
||||
.text( ve.msg( 'visualeditor-version-label' ) + ' ' + extension[ 'vcs-version' ].slice( 0, 7 ) )
|
||||
)
|
||||
)
|
||||
.append( ' ' )
|
||||
.append( $( '<span>' )
|
||||
|
|
Loading…
Reference in a new issue