Skip to content

Commit

Permalink
add aria-live div
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Nov 20, 2024
1 parent 24c4783 commit 3b4466b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/04-templates/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ $main-width: calc(100% - (#{$sidebar-width} + #{$gutter}));
z-index: 1;
}

#userupdateinfo {
position: absolute;
left:-9999px;
}

// Allows the gray overflow to span the browser width.
.layout-container {
overflow-x: hidden;
Expand Down Expand Up @@ -587,6 +592,7 @@ $main-width: calc(100% - (#{$sidebar-width} + #{$gutter}));
}

.page-node-type-data-report {

.flag a.button-internal {
border: 1px solid $green;
}
Expand Down
1 change: 1 addition & 0 deletions templates/layout/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
</a>
{% endif %}
</div>
<div role="region" id="userupdateinfo" aria-live="polite"></div>
{{ page_top }}
{{ page }}
{{ page_bottom }}
Expand Down

0 comments on commit 3b4466b

Please sign in to comment.