diff --git a/frontend/assets/css/main.scss b/frontend/assets/css/main.scss index 2bf8cfc6c..ab4335179 100644 --- a/frontend/assets/css/main.scss +++ b/frontend/assets/css/main.scss @@ -96,3 +96,16 @@ svg{ } } } + +// see https://tailwindcss.com/docs/screen-readers +sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} diff --git a/frontend/components/bc/BcContentFilter.vue b/frontend/components/bc/BcContentFilter.vue new file mode 100644 index 000000000..3a5c54ab5 --- /dev/null +++ b/frontend/components/bc/BcContentFilter.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/frontend/components/bc/ContentFilter.vue b/frontend/components/bc/ContentFilter.vue deleted file mode 100644 index 58480fe0f..000000000 --- a/frontend/components/bc/ContentFilter.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/frontend/i18n/en.json b/frontend/i18n/en.json index b3c1cc0e4..8b8f09382 100644 --- a/frontend/i18n/en.json +++ b/frontend/i18n/en.json @@ -109,8 +109,10 @@ "valid": "Valid" }, "filter": { + "close": "Open Filter.", + "disabled": "Filter disabled.", "enabled": "Filter enabled.", - "disabled": "Filter disabled." + "open": "Close Filter." }, "premium": { "title": "beaconcha.in Premium",