Use class to style screenreader-only text

This commit is contained in:
tusooa 2023-02-09 21:35:56 -05:00
commit 902954b298
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
5 changed files with 15 additions and 26 deletions

View file

@ -1,6 +1,6 @@
<template>
<div
class="screen-reader-text"
class="visible-for-screenreader-only"
:aria-live="ariaLive"
>
{{ currentText }}
@ -8,11 +8,3 @@
</template>
<script src="./screen_reader_notice.js"></script>
<style lang="scss">
@import "../../mixins";
.screen-reader-text {
@include visible-for-screenreader-only;
}
</style>