fix(toggle): improve error text accessibility

This commit is contained in:
Maria Hutt
2025-11-03 09:28:49 -08:00
parent 8e46414bd5
commit f5088213f1
4 changed files with 259 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
import type { ComponentInterface, EventEmitter } from '@stencil/core';
import { Component, Element, Event, Host, Method, Prop, State, h, Build } from '@stencil/core';
import { Build, Component, Element, Event, Host, Method, Prop, State, h } from '@stencil/core';
import { checkInvalidState } from '@utils/forms';
import type { Attributes } from '@utils/helpers';
import { inheritAriaAttributes, renderHiddenInput } from '@utils/helpers';