RC #336#337
Merged
Merged
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRemoves aria-pressed handling from auro-hyperlink button-mode behavior, updates tests and documentation accordingly, relaxes a brittle href test to account for dynamic localhost ports, and tweaks styling for inline hyperlinks and embedded icons. Updated class diagram for ComponentBase and AuroHyperlink aria-pressed removalclassDiagram
class ComponentBase_before {
-defaultReferrerPolicy string
-ariapressed string
-hyperlinkRef
+ariaPressedState(ariaPressed boolean) boolean
+render()
}
class ComponentBase_after {
-defaultReferrerPolicy string
-hyperlinkRef
+render()
}
class AuroHyperlink_before {
+render()
+template_includes_aria_pressed_binding_for_button_role()
}
class AuroHyperlink_after {
+render()
+template_omits_aria_pressed_binding_for_button_role()
}
ComponentBase_before <|-- AuroHyperlink_before
ComponentBase_after <|-- AuroHyperlink_after
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Open
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Removing the
aria-pressedhandling forrole="button"hyperlinks changes the accessibility semantics; consider either justifying this change in the description (e.g., design/ARIA guidance) or replacing it with an alternative pattern (such as usingaria-pressedonly where a true toggle button is intended). - Changing
.hyperlinkfromdisplay: inline-blocktodisplay: flexfor non-CTA/nav links may impact existing layouts (line wrapping, alignment, etc.); consider whetherinline-flexwould better preserve prior behavior or explicitly validate how this affects typical embedding contexts. - The absolute
hrefassertion now uses a regex againstanchor.href; you might consider using theURLconstructor (e.g.,new URL(anchor.href)) to assert specific parts like pathname or origin instead of a pattern match on the full string.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Removing the `aria-pressed` handling for `role="button"` hyperlinks changes the accessibility semantics; consider either justifying this change in the description (e.g., design/ARIA guidance) or replacing it with an alternative pattern (such as using `aria-pressed` only where a true toggle button is intended).
- Changing `.hyperlink` from `display: inline-block` to `display: flex` for non-CTA/nav links may impact existing layouts (line wrapping, alignment, etc.); consider whether `inline-flex` would better preserve prior behavior or explicitly validate how this affects typical embedding contexts.
- The absolute `href` assertion now uses a regex against `anchor.href`; you might consider using the `URL` constructor (e.g., `new URL(anchor.href)`) to assert specific parts like pathname or origin instead of a pattern match on the full string.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
jason-capsule42
approved these changes
Feb 10, 2026
|
🎉 This PR is included in version 8.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Review Checklist:
RC Checklist
Testing Checklist:
Browsers
Browsers Support Guide
Dev demo link
Android
iOS
Desktop
Scenarios
Framework playground
**By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.**
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Remove deprecated ARIA pressed state handling from auro-hyperlink button usage and adjust layout and tests accordingly.
Bug Fixes:
Enhancements:
Documentation:
Tests: