This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
Vote-351: Remove Unused Container Element #950
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira ticket
Vote-351
Description
This PR will help resolve an accessibility error flagged on
North Dakota/Not Needed
. The error was flagging a div that was not being used.Since registration was not needed for this state the text will not be rendered but the div is still present within the DOM.
For the fix, an if statement was created that if the state was
not needed
then the div would not be rendered and for anything else, it would beDeployment and testing
Pre-deploy
n/a
Post-deploy
n/a
QA/Test
class="registered-resources"
the expected result is that it will not be presentnpm run cy:axe
andnpm run cy:test
and ensure tests are passingChecklist for the Developer
Checklist for the Peer Reviewers