Skip to content

Commit 0d86bab

Browse files
authored
Iterate landmarks around the app in order to improve a11y (#26776)
1 parent da90425 commit 0d86bab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vector/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</head>
6060
<body style="height: 100%; margin: 0;">
6161
<noscript>Sorry, Element requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? -->
62-
<section id="matrixchat" style="height: 100%;" class="notranslate"></section>
62+
<div id="matrixchat" style="height: 100%;" class="notranslate"></div>
6363

6464
<%
6565
// insert <script> tags for the JS entry points

test/app-tests/loading-test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ describe("loading:", function () {
377377
it("does not show a login view", async function () {
378378
await awaitRoomView(matrixChat);
379379

380-
await screen.findByLabelText("Spaces");
380+
await screen.getByRole("tree", { name: "Spaces" });
381381
expect(screen.queryAllByText("Sign in")).toHaveLength(0);
382382
});
383383
});

0 commit comments

Comments
 (0)