mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 22:16:15 +00:00
dab5b5daae
When changing the source in the described-by attributes the screen reader will read the text of the new source when the status changes. Just changing the text within the elements holding the descriptions does not work. Bug: T291284 Change-Id: I31cc3061cf6c1f699babe41e99e0711f0eb03646
9 lines
315 B
JavaScript
9 lines
315 B
JavaScript
QUnit.module( 've.ui.MWTransclusionOutlineButtonWidget' );
|
|
|
|
QUnit.test( 'Constructor', ( assert ) => {
|
|
const widget = new ve.ui.MWTransclusionOutlineButtonWidget( {} );
|
|
|
|
// eslint-disable-next-line no-jquery/no-class-state
|
|
assert.ok( widget.$element.hasClass( 've-ui-mwTransclusionOutlineButtonWidget' ) );
|
|
} );
|