Iterate landmarks around the app in order to improve a11y (#26776)
This commit is contained in:
parent
da90425289
commit
0d86bab0dc
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue