Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing role attribute #19870

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

fix: add missing role attribute #19870

wants to merge 1 commit into from

Conversation

sdrozdsap
Copy link
Contributor

No description provided.

@sdrozdsap sdrozdsap requested a review from a team as a code owner January 15, 2025 12:59
@github-actions github-actions bot marked this pull request as draft January 15, 2025 12:59
@sdrozdsap sdrozdsap marked this pull request as ready for review January 16, 2025 09:48
Copy link

cypress bot commented Jan 16, 2025

spartacus    Run #46678

Run Properties:  status check passed Passed #46678  •  git commit 57c4ddba40 ℹ️: Merge 73039c4b5cc5516bc8c27b98876b426705ffcc08 into 22476ef1e4c5d1b99e006b944123...
Project spartacus
Branch Review fix/CXSPA-9015
Run status status check passed Passed #46678
Run duration 04m 18s
Commit git commit 57c4ddba40 ℹ️: Merge 73039c4b5cc5516bc8c27b98876b426705ffcc08 into 22476ef1e4c5d1b99e006b944123...
Committer sdrozdsap
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 125
View all changes introduced in this branch ↗︎

Comment on lines 180 to 189
<div aria-live="assertive" aria-atomic="true">
<span *ngIf="validationError" tabindex="0" class="cx-invalid-message">
<span
*ngIf="validationError"
role="alert"
tabindex="0"
class="cx-invalid-message"
>
{{ validationError | cxTranslate }}
</span>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the aria-live="assertive" aria-atomic="true" since role alert provides the same functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants