feat(html): maximum resolution HTML symbol extraction
Name-resolution priority (highest → lowest): 1. id attr → tag#id 2. aria-label → tag[label] (was missing entirely) 3. name attr → tag[name] (form/fieldset/slot — was missing) 4. heading text → h1: text / h2: text 5. child heading → tag: child-h text (section: About Us vs section@42) 6. @lineno — last resort only
New symbol sources: - _HTML_LABEL_TAGS: summary, figcaption, legend, caption — text content as name - Custom elements (hyphenated tags): extracted when id/aria-label present - _HTML_SEMANTIC_TAGS expanded: details, summary, template, slot, fieldset
Refactor: - _find_id_attr → _find_attr(start_tag, src, attr_name) (generalized) - _find_child_heading() added: first h1-h6 child text
Tests: 25 HTML tests (was 7), all 206 pass
0 comments
muse hub commit comment sha256:44ac851e7a455241f4e2cf50d5ae2675276716750f394cbc5ec7d5144859055f --body "your comment"
No comments yet. Be the first to start the discussion.