Skip to content

Conversation

wagnermaciel
Copy link
Contributor

…ndant

  • If a list is using active descendant to track focus, calling focus() on a list item should send focus to the parent list element.

…ndant

* If a list is using active descendant to track focus, calling focus() on a list item should send focus to the parent list element.
@wagnermaciel wagnermaciel added the target: minor This PR is targeted for the next minor release label Aug 21, 2025
@wagnermaciel wagnermaciel requested a review from ok7sai August 21, 2025 15:53
@wagnermaciel wagnermaciel added the dev-app preview When applied, previews of the dev-app are deployed to Firebase label Aug 21, 2025
Copy link

github-actions bot commented Aug 21, 2025

Deployed dev-app for 42b17c2 to: https://ng-dev-previews-comp--pr-angular-components-31756-dev-uhb8idmt.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@wagnermaciel wagnermaciel marked this pull request as ready for review August 21, 2025 16:33
@wagnermaciel wagnermaciel requested a review from a team as a code owner August 21, 2025 16:33
@wagnermaciel wagnermaciel requested review from crisbeto and removed request for a team August 21, 2025 16:33
Copy link
Member

@ok7sai ok7sai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The demo styles seem off after the change

@wagnermaciel
Copy link
Contributor Author

Yeah, I switched the focus ring to stay on the list instead of the list item to indicate that the document.activeElement is the list. I'm second guessing this, though, as this seems like an implementation detail that shouldn't be visually indicated to users. What do you think?

@wagnermaciel wagnermaciel added the action: merge The PR is ready for merge by the caretaker label Aug 21, 2025
@wagnermaciel wagnermaciel removed the request for review from crisbeto August 21, 2025 18:26
@wagnermaciel wagnermaciel merged commit d2c3bb9 into angular:main Aug 21, 2025
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker dev-app preview When applied, previews of the dev-app are deployed to Firebase target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants