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:
thiemowmde 2022-12-22 15:04:00 +01:00
parent 420b2a9382
commit a8fc627f3c

View file

@ -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' ],