Skip to content

chore(dev-app) Add demo page for FocusTrap #17858

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

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

vanessanschmitt
Copy link
Collaborator

Note that much of this demo page is known to not be working with the
current focus trap implementation (ex. elements in the focus trap with
tabindex > 0 send focus out of the trap, elements in iframes/shadow DOM
get skipped when focus wraps, all focus traps can be escaped by clicking
on the URL and then pressing tab). The demo page will be helpful for
research into FocusTrap improvements (see
#13054).

Screenshot1
Screenshot2

@vanessanschmitt vanessanschmitt requested review from jelbourn, mmalerba and a team as code owners December 2, 2019 21:39
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 2, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple of nits for demo CSS classes

@jelbourn jelbourn added pr: lgtm target: patch This PR is targeted for the next patch release labels Dec 3, 2019
@jelbourn
Copy link
Member

jelbourn commented Dec 3, 2019

(also you can ignore that failing api_golden_checks, it was briefly broken on master due a merge conflict)

@jelbourn
Copy link
Member

jelbourn commented Dec 3, 2019

Also I just loaded the this locally and this is really good set of demos. I want to turn them into examples for our documentation.

Note that much of this demo page is known to not be working with the
current focus trap implementation (ex. elements in the focus trap with
tabindex > 0 send focus out of the trap, elements in iframes/shadow DOM
get skipped when focus wraps, all focus traps can be escaped by clicking
on the URL and then pressing tab). The demo page will be helpful for
research into FocusTrap improvements (see
angular#13054).
@vanessanschmitt
Copy link
Collaborator Author

Wow, thanks! Let me know if there's anything I can do to help with that.

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Dec 3, 2019
@jelbourn jelbourn merged commit 9db1333 into angular:master Dec 4, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants