From 85dbf1f90412c66a7fe997df22693812d63c83fa Mon Sep 17 00:00:00 2001 From: HuanWuCode Date: Sat, 28 Sep 2024 23:42:56 -0700 Subject: [PATCH] Accessibility: update a11y.js --- doc/examples/qunit/test/a11y.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/qunit/test/a11y.js b/doc/examples/qunit/test/a11y.js index 8260a8309c..6c81a57366 100644 --- a/doc/examples/qunit/test/a11y.js +++ b/doc/examples/qunit/test/a11y.js @@ -2,7 +2,7 @@ QUnit.module('axe'); -QUnit.test('should report that good HTML is good', function (assert) { +QUnit.test('should pass accessibility test for valid HTML', function (assert) { var n = document.getElementById('working'); assert.expect(2); @@ -14,7 +14,7 @@ QUnit.test('should report that good HTML is good', function (assert) { }); }); -QUnit.test('should report that bad HTML is bad', function (assert) { +QUnit.test('should fail accessibility test for invalid HTML', function (assert) { var n = document.getElementById('broken'); assert.expect(2);