Skip to content

Commit

Permalink
Iterate landmarks around the app in order to improve a11y (#26776)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Dec 20, 2023
1 parent da90425 commit 0d86bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</head>
<body style="height: 100%; margin: 0;">
<noscript>Sorry, Element requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? -->
<section id="matrixchat" style="height: 100%;" class="notranslate"></section>
<div id="matrixchat" style="height: 100%;" class="notranslate"></div>

<%
// insert <script> tags for the JS entry points
Expand Down
2 changes: 1 addition & 1 deletion test/app-tests/loading-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ describe("loading:", function () {
it("does not show a login view", async function () {
await awaitRoomView(matrixChat);

await screen.findByLabelText("Spaces");
await screen.getByRole("tree", { name: "Spaces" });
expect(screen.queryAllByText("Sign in")).toHaveLength(0);
});
});
Expand Down

0 comments on commit 0d86bab

Please sign in to comment.