Skip to content

BaseTrigger

What component has ​

Keyboard support ​

FilterTrigger keyboard support is described in the Keyboard control guide.

Roles & attributes ​

The following table describes roles and attributes that component already has.

Roles & attributes
ComponentAttributeUsage
Trigger.Textaria-hidden="true"Only when the value is empty. Hides the placeholder text from assistive technology. Helps to avoid reading the trigger name twice when it's identical to the placeholder.

Considerations for developers ​

Make sure to label triggers by using either <label>, aria-labelledby, or aria-label. Refer to our examples.

For more accessibility recommendations, refer to guidelines for components that are normally used with BaseTrigger and its variations:

Other recommendations ​

For more accessibility recommendations, refer to the common Accessibility guide.

Released under the MIT License.

Released under the MIT License.