CQI #13742 Step aria-controls showcase #13745
Open
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.
Fix #13742 (doesn't actually fix, it's just for correct liking with the issue)
This PR showcase the usage of the MenuItem's new property
overrideAriaControls
. This allows to pass the MenuItem theid
of the element that the step controls, as shown by the routing example in the Step component doc.This is just an example and it's difficult to interact with it, because of the previous problems with the Step component that are to be fixed with #13743.
If this solution will be accepted, it will require a porting (or at least an evauation to decide if it's needed) to all other components that uses the MenuItem and have an aria-controls attribute.