Skip to content

Commit

Permalink
Replacement for deprecated class sr-only (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli authored Feb 19, 2024
1 parent a54ee1c commit 36bf413
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ form.search-form {
font-size: 0.875rem;

.search-help-link {
@include visually-hidden();
@include visually-hidden;
}

fieldset {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

.page__content > h2 {
@include visually-hidden();
@include visually-hidden;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
#}

{% set title_attributes = title_attributes.setAttribute('class', ['sr-only', 'd-none']) %}
{% set title_attributes = title_attributes.setAttribute('class', ['visually-hidden']) %}

{% include '@radix/block/block.twig' with {
html_tag: 'div',
Expand Down

0 comments on commit 36bf413

Please sign in to comment.