diff --git a/src/test/system/accessibility_test.js b/src/test/system/accessibility_test.js index a86a61767..456078b49 100644 --- a/src/test/system/accessibility_test.js +++ b/src/test/system/accessibility_test.js @@ -1,4 +1,5 @@ -import { assert, test, testGroup, triggerEvent } from "test/test_helper" +import { assert, skipIf, test, testGroup, triggerEvent } from "test/test_helper" +import TrixEditorElement from "trix/elements/trix_editor_element" testGroup("Accessibility attributes", { template: "editor_default_aria_label" }, () => { test("sets the role to textbox", () => { @@ -6,28 +7,28 @@ testGroup("Accessibility attributes", { template: "editor_default_aria_label" }, assert.equal(editor.getAttribute("role"), "textbox") }) - test("does not set aria-label when the element has no