diff --git a/tests/resources/aria-at-harness.mjs b/tests/resources/aria-at-harness.mjs index 2bb3cb44a..8e8d7f660 100644 --- a/tests/resources/aria-at-harness.mjs +++ b/tests/resources/aria-at-harness.mjs @@ -573,7 +573,11 @@ function renderVirtualInstructionDocument(doc) { instructAssertions(doc.instructions.assertions), - button(onclick(doc.instructions.openTestPage.click), rich(doc.instructions.openTestPage.button)), + button( + disabled(!doc.instructions.openTestPage.enabled), + onclick(doc.instructions.openTestPage.click), + rich(doc.instructions.openTestPage.button) + ), resultHeader(doc.results.header), diff --git a/tests/resources/aria-at-test-run.mjs b/tests/resources/aria-at-test-run.mjs index 44624864d..b58435988 100644 --- a/tests/resources/aria-at-test-run.mjs +++ b/tests/resources/aria-at-test-run.mjs @@ -1190,7 +1190,7 @@ export function userValidateState() { * @typedef TestRunState * This state contains all the serializable values that are needed to render any * of the documents (InstructionDocument, ResultsTableDocument, and - * TestPageDocuement) from this module. + * TestPageDocument) from this module. * * @property {string[] | null} errors * @property {object} info