vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 762 forks source link

fix(wizard): poc for focus issue after nav item click #6670

Closed hippee-lee closed 2 years ago

hippee-lee commented 2 years ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

When the ClrWizard component is opened focus is moved directly to the page title. When a user interacts with the wizard and clicks on a nvigation item or a page button that causes the page to change, focus stays on the clicked element.

Issue Number: #4211

What is the new behavior?

After user interaction that changes the wizard page (content) focus will be moved to the page title element to make it more accessible.

Does this PR introduce a breaking change?

Other information