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

fix: removed aria-required from switch #3478

Merged

Conversation

SethDonohue
Copy link
Contributor

Description

Fixes #3458

Motivation & context

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Adding or modifying component(s) in @microsoft/fast-components checklist

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@@ -9,7 +9,6 @@ export const SwitchTemplate = html<Switch>`
<template
role="switch"
aria-checked="${x => x.checked}"
aria-required="${x => x.required}"
Copy link
Contributor

Choose a reason for hiding this comment

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

hmmm - I'd expect that this component shouldn't support a required prop / attribute either then. It inherits that property from FormAssociated though - I'll write up a quick issue to track

@SethDonohue SethDonohue merged commit 634a3de into master Jul 10, 2020
@SethDonohue SethDonohue deleted the users/v-sedono/fix-remove-aria-required-from-switch branch July 10, 2020 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fast-switch] Switch implements aria-required which is not allowed
5 participants