Files
accessibility-console/src/Rules/StandardRuleSet.php
T

34 lines
826 B
PHP
Raw Normal View History

2026-05-13 09:10:43 +03:00
<?php
namespace YakNet\AccessibilityConsole\Rules;
class StandardRuleSet
{
/**
* @return RuleInterface[]
*/
public static function all(): array
{
/** @var RuleInterface[] $rules */
$rules = [
2026-05-13 09:10:43 +03:00
new HtmlHasLang(),
new ImgAltText(),
new EmptyLink(),
new ButtonName(),
new FormLabel(),
new FieldsetLegend(),
new HeadingOrder(),
new MetaViewport(),
new TabindexOrder(),
new ColorContrast(),
new DuplicateId(),
new AriaRole(),
new IframeTitle(),
new LinkTextGeneric(),
new PlaceholderAsLabel(),
new ImageAltRedundant(),
new AriaHiddenFocusable(),
2026-05-13 09:10:43 +03:00
];
return $rules;
2026-05-13 09:10:43 +03:00
}
}