Skip to content
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

Add mixins to handle focus and disabled state #2186

Closed
web-padawan opened this issue Jul 7, 2021 · 0 comments · Fixed by #2233
Closed

Add mixins to handle focus and disabled state #2186

web-padawan opened this issue Jul 7, 2021 · 0 comments · Fixed by #2233
Assignees
Labels
a11y phase 1 First batch of accessibility fixes a11y Accessibility issue

Comments

@web-padawan
Copy link
Member

Motivation

This is a pre-requisite for adding slotted <input> support to all field components.

Part of #84

Proposed solution

The following mixins need to be implemented in scope of this issue:

  • FocusMixin - a mixin to handle focused and focus-ring attributes
  • DisabledMixin - a mixin to provide disabled property and ARIA attribute
  • DelegateFocusMixin - a mixin to delegate focus to a focusElement in light DOM

Note, the mixins could be located in the same package as those included to #2182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y phase 1 First batch of accessibility fixes a11y Accessibility issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant