feat: allow chaining with setAriaLabelProvider (#9913)

This commit is contained in:
Michael Harvey
2026-05-20 19:27:41 -04:00
committed by GitHub
parent d7172452e2
commit d4930b4540
+5 -1
View File
@@ -297,9 +297,13 @@ export class Input {
* deterministic and idempotent ARIA representation each time the provider is
* called for a given input. It's also fine to reuse providers across multiple
* Input implementations.
*
* @param provider The string or function to use to set the ARIA label for the input
* @returns The input being modified (to allow chaining).
*/
setAriaLabelProvider(provider: AriaLabelProvider | null) {
setAriaLabelProvider(provider: AriaLabelProvider | null): Input {
this.ariaLabelProvider = provider;
return this;
}
/**