{
"id": "html-parallel-control-pattern",
"language": "html",
"group": "maintainability",
"listingTitle": "Consolidate parallel HTML controls",
"title": "Consolidate parallel HTML controls",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "maintainability",
"why": "Mixing native buttons with separately styled button-like elements creates competing interaction implementations.",
"suggestion": "Prefer the established native button or shared component unless the semantic variation is intentional.",
"version": 1,
"semanticMaturity": "project",
"securityKind": "none",
"taxonomy": [
"design"
],
"requirements": [
"sourceText"
],
"packs": [
"html",
"ui"
],
"implementation": "src/rules/ui_consistency.rs",
"languages": [
"html"
],
"frameworks": [],
"languageVersions": [],
"limitations": [
"Button-like alternatives are inferred from role=button or click handlers on non-button elements."
]
}