/** * Copyright (c) 2025 Ofri Peretz * Licensed under the MIT License. Use of this source code is governed by the * MIT license that can be found in the LICENSE file. */ /** * ESLint Rule: no-missing-aria-labels * Detects elements missing ARIA labels * * @see https://www.w3.org/WAI/ARIA/apg/ */ import type { TSESLint } from '@interlace/eslint-devkit'; type MessageIds = 'missingAriaLabel' | 'addAriaLabel' | 'addAriaLabelledby' | 'addVisibleLabel'; export interface Options { /** Ignore in test files. Default: true */ ignoreInTests?: boolean; /** Elements that require ARIA labels. Default: ['button', 'input', 'select', 'textarea'] */ requireLabels?: string[]; } type RuleOptions = [Options?]; export declare const noMissingAriaLabels: TSESLint.RuleModule & { name: string; }; export {};