-
Notifications
You must be signed in to change notification settings - Fork 75
Wizard: only offer image mode on RHEL 10 hosts #4740
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
Closed
lucasgarfield
wants to merge
1
commit into
lucas/cockpit/6-optional-users
from
lucas/cockpit/7-rhel10-hosts
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/Components/CreateImageWizard/steps/ImageOutput/components/BlueprintMode.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| /* The tooltip wrapper makes the image mode item the first child of the | ||
| wrapper span instead of a middle child of the toggle group, so | ||
| PatternFly rounds its start corners. Square them so the item sits | ||
| flush against the package mode item. */ | ||
| .image-mode-toggle-wrapper { | ||
| --pf-v6-c-toggle-group__item--first-child__button--BorderStartStartRadius: 0; | ||
| --pf-v6-c-toggle-group__item--first-child__button--BorderEndStartRadius: 0; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
suggestion: Tooltip wrapper around a disabled button might benefit from explicit accessibility handling.
Because the tooltip trigger is a non-semantic
<span>wrapping a disabled control, assistive tech may not expose the tooltip or the disabled state correctly. Consider either giving the wrapper an appropriate role/ARIA attributes, or keeping the inner button focusable (e.g.,aria-disabledwith click prevention) so the tooltip and disabled state are properly announced for keyboard and screen-reader users.Suggested implementation:
Depending on how
imageModeToggleis implemented elsewhere in this file, you may want to:aria-disabled(and click prevention) instead of the nativedisabledattribute, so that the control remains reachable by keyboard while still being announced as disabled.aria-disabled, make sure to prevent activation for unsupported hosts in theonClickhandler (and optionallyonKeyDownfor Space/Enter) to preserve the disabled behavior while enabling consistent tooltip announcement for keyboard and screen-reader users.