-
Notifications
You must be signed in to change notification settings - Fork 357
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
docs(Alert): update AlertActionLink props so they follow guidelines #9666
Conversation
Preview: https://patternfly-react-pr-9666.surge.sh A11y report: https://patternfly-react-pr-9666-a11y.surge.sh |
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.
This is looking good, just a comment below.
Regarding your other comments:
- Personally I'd be in favor of replacing the
alert
popup with just a console log. It may be more important to keep these alerts on screen rather than allow them to be removed just for purposes of the examples. - Would make sense to combine or remove duplicate examples. I'm not sure if we really need 4 of the alerts in that particular "Variations" example to use a close button since we're mentioning a specific alert in the example description; maybe just keep that 4th Alert to show the actionClose prop? I'd delegate to @tlabaj and @andrew-ronaldson on this though.
- "Ignore" text acts as a button, not a link - alert variations examples are simpler - fixed a link to /components/alert/accessibility - AlertActionCloseButton will not trigger a popup alert
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.
One other comment below. Also can we update the alerts in the "Expandable alerts" example so that one has just the close button (no actionLinks), and the other has only actionLinks (no close button).
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.
LGTM, thanks
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #9331
Additional issues:
Few things I'd also improve in Alert docs: