Skip to content
#

Web Components

web-components logo

Developers can create custom, reusable, encapsulated HTML tags for the web using Web Components. Components use the Custom Element standard, frequently in combination with the Shadow DOM, HTML Templates, and ES Modules.

Here are 1,686 public repositories matching this topic...

storybook
micahgodbolt
micahgodbolt commented May 27, 2022

aria-expanded is meant to be used with button, or some other role. It is currently be added to the parent div with no role making the attribute ineffective.

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded#associated_roles

Moving the aria-expanded to the button that does the expanding will provide better accessibility to those using screen readers.

LarsDenBakker
LarsDenBakker commented Sep 15, 2020

The semantic dom diff plugin uses some global variables like __mocha_context__ and __snapshot__ which are only available in a karma mocha context. When it's user in other test runners, or karma without mocha, it crashes with an unhelpful message.

We should check for these variables, and throw a helpful error to the user that explains this plugin can only be used in Karma.

bug good first issue hacktoberfest
tomrav
tomrav commented Jul 13, 2021

All of the various Stylable directives should warn the user when receiving no arguments and at least 1 is expected.

Current status:

at-rules

  • - @st-import
  • - @st-scope
  • - @custom-selector

rules

  • - :global()
  • - pseudo-states parameters (fixed)
    • [x]
diagnostics core tech debt good first issue
microsoft-graph-toolkit