{"id":"STR-008","name":"Heading predicts content","domain":"structure","layer":"section","strength":"hard_constraint","human_logic":"IF a heading does not accurately predict its section, THEN rename the heading or repair the section ELSE retain.","when":{"path":"section.heading_content_match","operator":"eq","value":false},"then":[{"action":"align","target":"section.heading","value_from":"section.primary_reader_question"},{"action":"flag","target":"section","message":"Choose whether the heading or content represents intended scope."}],"else":[{"action":"retain","target":"current_text","reason":"No triggering condition is present."}],"unless":[],"because":"A misleading heading damages navigation and trust.","diagnostics":[],"examples":{},"source_ids":["WEB-002","WEB-005","BK-024"],"laka":{"smallest_sufficient_intervention":true,"primary_axes":["scope","depth","magnitude","reversibility"]},"requires_facts":["section.heading_content_match"],"tests":[{"id":"TST-008","rule_id":"STR-008","before":"Heading: More information; section: Reset your password.","after":"Heading: Reset your password","reason":"The heading predicts the task.","assertion":{"if":{"path":"output","operator":"eq","value":"Heading: Reset your password"},"then":"pass","else":"review"}}],"sources":[{"id":"WEB-002","title":"Principles of plain language","creator":"Digital.gov / U.S. General Services Administration","domain":"plain_language","type":"Government guidance","note":"Design content so the intended audience can find, understand, and use it.","url":"https://www.plainlanguage.gov/"},{"id":"WEB-005","title":"Writing for Web Accessibility","creator":"W3C Web Accessibility Initiative","domain":"accessibility","type":"Web standard guidance","note":"Clear structure, descriptive labels, alternatives, and understandable content.","url":"https://www.w3.org/WAI/tips/writing/"},{"id":"BK-024","title":"Developing Quality Technical Information","creator":"Michelle Carey; Moira Lanyi; Deirdre Longo; et al.","domain":"technical_writing","type":"Book","note":"Quality dimensions for usable technical information.","url":null}],"defined_in":{"file":"10-paragraph-document-rules.json","title":"Paragraph, Section, and Document Architecture","slug":"paragraph-document-rules"}}