Skip to content

Commit

Permalink
fix(styles): make screenreader not announce asterisk on required fiel…
Browse files Browse the repository at this point in the history
…ds [ci visual] (#5691)

* fix(styles): make screenreader not announce asterisk on required fields

* fix(styles): trigger [ci visual]
  • Loading branch information
mikerodonnell89 authored Oct 21, 2024
1 parent 0463bad commit 840fe75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/styles/src/form-label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $block: #{$fd-namespace}-form-label;
padding-inline-end: 0.5rem;

&::after {
content: '*';
content: '*' / '';
font-size: var(--sapFontLargeSize);
font-weight: bold;
color: var(--sapField_RequiredColor);
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/src/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ $fd-input-field-height--compact: 1.625rem;
padding-inline-end: 0.5rem;

&::after {
content: '*';
content: '*' / '';
font-size: var(--sapFontSize);
font-weight: bold;
color: var(--sapField_RequiredColor);
Expand Down

0 comments on commit 840fe75

Please sign in to comment.