-
Notifications
You must be signed in to change notification settings - Fork 0
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
Functional users list overlays #483
Conversation
so that purpose of dialog is announced when open
6b13e0a
to
e93f863
Compare
@beepdotgov @cannandev @hursey013 The only criteria I'm still having trouble with is announcing the success message—can't get it to announce. I'll keep working on that, but otherwise, I think this is ready for eyes! |
I'm going to make dynamic url params a separate GH issue—I might get to it depending on how much I need to update with this PR, but I don't want it to block the rest of the work. |
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.
@echappen Seriously, this is looking fantastic so far. I’ve left a few design suggestions/requests, and a couple non-blocking comments. Please let me know if anything’s unclear, or if you’d like to discuss anything further!
src/components/UsersActions/UsersActionsSpaceRoles/UsersActionsSpaceRoles.tsx
Show resolved
Hide resolved
src/components/UsersActions/UsersActionsSpaceRoles/UsersActionsSpaceRoles.tsx
Show resolved
Hide resolved
I’ve been working on getting aria-live regions to be more consistently read by VoiceOver. The lack of consistency still perplexes me. I know that in order for aria-live regions to be read, two things need to be true (this article is a good summary):
I suspect the inconsistency is coming down to the timing between a react component re-rendering (thus re-loading that part of the DOM) and a message updating. I think the reason that the success message wasn’t being read was because these things were happening at the same time. Putting a 1/2 second delay on the message update solved this issue. But I’ve also been looking into alternatives, and I’m intrigued by this approach, which is now an npm package. This approach uses the React Context API, which I haven’t used at all, so I’m less comfortable with it. @cannandev @hursey013 Any thoughts on this approach and if we should try it? |
Blocked by PR #476
Changes proposed in this pull request:
Per engineering sync discussion, some additional acceptance criteria:
How to test
cf login -a [url] --sso
npm run dev-cf
/orgs/[orgId]
Forms should operate the same as when they were on pages, with the only difference being that the overlay closes on form submission success.
Related issues
Closes #468
Submitter checklist
Security considerations
None, UI changes only