mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-11 16:36:13 -06:00
feat(automation): accessibility_tags lists tags a page at a time, with filters (#2335)
accessibility_tags returned every structure tag at once. A 20-page tagged guide printed by Chromium has 400 to 630 tags, 70,000 to 110,000 characters of JSON, more than an MCP client takes in one tool result. It now pages like bookmark_list: offset, limit (default 200, at most 1000) and next, with count the number of tags that match. types, pages and max_depth keep only some tags (the headings, one page, the top levels). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
Brandon Thomas
parent
d305e66430
commit
02a572909d
@@ -8903,8 +8903,8 @@ milestone = "M12"
|
||||
status = "partial"
|
||||
commands = ["a11y.tags"]
|
||||
tools = ["accessibility_tags"]
|
||||
evidence = ["crates/ui-egui/tests/accessibility.rs::tags_panel_edits_a_tag_property_and_undoes_it", "crates/ui-egui/tests/accessibility.rs::checker_finding_opens_its_structure_tag"]
|
||||
notes = "The right-side Tags panel lists reachable indirect tags as a collapsible hierarchy, filters by type or title with ancestors, navigates to their page and edits properties. Checker findings linked to indirect tags open the matching tag without losing unsaved edits. Inline tags, adding/deleting tags, artifact marking and finding content remain planned in #982."
|
||||
evidence = ["crates/ui-egui/tests/accessibility.rs::tags_panel_edits_a_tag_property_and_undoes_it", "crates/ui-egui/tests/accessibility.rs::checker_finding_opens_its_structure_tag", "crates/automation/tests/automation.rs::structure_tags_are_listed_a_page_at_a_time"]
|
||||
notes = "The right-side Tags panel lists reachable indirect tags as a collapsible hierarchy, filters by type or title with ancestors, navigates to their page and edits properties. accessibility_tags lists them a page at a time (offset, limit, next) and can keep only some types, pages or depths. Checker findings linked to indirect tags open the matching tag without losing unsaved edits. Inline tags, adding/deleting tags, artifact marking and finding content remain planned in #982."
|
||||
|
||||
[[feature]]
|
||||
id = "a11y.tag-properties"
|
||||
|
||||
Reference in New Issue
Block a user