mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Remove redundant/conflicting ARIA label in template dialog
The ARIA label was added via Ieeb29de. It was reusing an existing message. Later we added a placeholder to the same input field via I07c6e60. Since then screenreaders possibly read two texts: "Find template" and "Add template". Bug: T296465 Change-Id: Icb8d5419b4a4e34a224744873c557cb873e17c40
This commit is contained in:
parent
420b2a9382
commit
a8fc627f3c
|
@ -45,8 +45,6 @@ ve.ui.MWTemplatePlaceholderPage = function VeUiMWTemplatePlaceholderPage( placeh
|
|||
choose: 'onAddTemplate'
|
||||
} );
|
||||
|
||||
this.addTemplateInput.$input.attr( 'aria-label', ve.msg( 'visualeditor-dialog-transclusion-add-template' ) );
|
||||
|
||||
this.addTemplateButton = new OO.ui.ButtonWidget( {
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-add-template-save' ),
|
||||
flags: [ 'progressive' ],
|
||||
|
|
Loading…
Reference in a new issue