-
Notifications
You must be signed in to change notification settings - Fork 32
[Replace] Rose::Form::Label and <input.field> elements #2783
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1c6abbf to
a01ada3
Compare
hashicc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With migrating just the label (Rose::Form::Label) and not the input (Rose::Form::Input) that yields the label (input.label) it looks like the a11y wiring between the label and the input is broken: a quick test for this is to click the label, Grant or New Grant and it should focus on the input. Instead of trying to restore the label linkage it might make more sense to migrate the Rose::Form::Input to Hds::Form::Input.
@hashicc thanks for the feedback! cc: @DhariniJeeva - do you mind if we increase the scope of this ticket? |
Oh, actually, I just checked our epics. It doesn't appear that we have a ticket for replacing |
that's a good point, I'm totally ok with migrating the input in this PR |
a01ada3 to
c6ff232
Compare
f55e355 to
672be94
Compare
f4759d8 to
ec748ba
Compare
ae3cf40 to
011e7c8
Compare
ZedLi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
priya-patel04
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes!
a2d0978 to
e24e129
Compare
Description
This PR replaces instances of
<input.label>withHds::Form::Label, and those instances only exist on our role/grants form.Update:
Usage of
input.fieldcause a11y violations, so we agreed to expand the scope of this ticket to also refactor the input field.🎟️ Jira ticket
Screenshots (if appropriate)
Before 👇

After 👇

How to Test
Checklist