Tobias Schmitz
7a3e2dbcbe
feat: better error reporting for missing link alt text
...
this can only really happen using a position as a link target
2025-07-25 13:22:57 +02:00
Tobias Schmitz
50a280b6c2
feat: avoid doing extra work when --disable-pdf-tags
is passed
2025-07-24 18:24:06 +02:00
Tobias Schmitz
820ea27a41
feat: write BBox for Table, Formula, and Figure tags
2025-07-24 18:02:45 +02:00
Tobias Schmitz
71425fc2b3
feat: use a span tag for marked content sequences containing text
2025-07-23 16:46:34 +02:00
Tobias Schmitz
042330cd66
feat: add alt field to figure
2025-07-23 16:17:50 +02:00
Tobias Schmitz
d1202d9617
refactor: update krilla
2025-07-23 12:50:30 +02:00
Tobias Schmitz
de72040ce6
Merge branch 'main' into pdf-accessibility
2025-07-22 23:31:41 +02:00
Laurenz Stampfl
af2253ba16
Add support for PDF embedding ( #6623 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-22 11:06:44 +00:00
Laurenz
b036fd97ab
Reformat with 2024 edition
2025-07-21 15:22:29 +02:00
Laurenz
c9c2315ad3
Fix 2024 clippy warnings
2025-07-21 15:22:29 +02:00
Laurenz
4bbd4e195b
Migrate to 2024 edition
2025-07-21 15:22:28 +02:00
Tobias Schmitz
9649def108
feat: add alt
parameter to math.equation
2025-07-18 16:38:54 +02:00
Tobias Schmitz
d2105dcc35
feat: report spans for missing alt text and unknown/duplicate tag ids
2025-07-18 16:38:54 +02:00
Tobias Schmitz
f8f900d40b
feat: update krilla
...
bounding boxes for links are now automatically generated by krilla
2025-07-17 16:52:37 +02:00
Tobias Schmitz
0bd0dc6d92
feat: generate tags for bibliographies
2025-07-17 16:12:10 +02:00
Tobias Schmitz
8d2c8712d5
feat: wrap equations in Formula tags
2025-07-16 16:34:42 +02:00
Tobias Schmitz
66ca4dc9a0
feat: generate tags for quotes
2025-07-16 14:54:58 +02:00
Tobias Schmitz
bc09df0c8b
feat: insert footnotes after the reference in the reading order
2025-07-16 14:52:20 +02:00
Tobias Schmitz
153c5d3a4a
refactor: update krilla
2025-07-16 13:58:04 +02:00
Tobias Schmitz
cd5d91a82d
fix: ensure link annotation object references are direct children of link tags
2025-07-15 17:23:11 +02:00
Tobias Schmitz
728d37efa0
feat: generate tags for footnotes
2025-07-15 16:54:15 +02:00
Tobias Schmitz
451b0815ff
feat: mark numbering prefix of heading and outline as Lbl
2025-07-14 17:11:02 +02:00
Tobias Schmitz
0df9da7ce6
feat: generate tags for terms
2025-07-14 16:37:16 +02:00
Tobias Schmitz
4b57373653
feat: derive Debug for StackEntry
2025-07-14 13:18:43 +02:00
Tobias Schmitz
e43b8bbb7f
fix: out of bounds access when tagging table cells
2025-07-14 12:40:18 +02:00
Tobias Schmitz
9bbfe4c14a
fix: make figure captions sibling elements
...
if the caption is contained within the figure screen readers might ignore it
2025-07-14 10:46:00 +02:00
Tobias Schmitz
e4021390a3
feat: don't wrap table cell content in paragraph
2025-07-14 10:46:00 +02:00
Tobias Schmitz
b5c6f7132b
feat!: remove unfinished manual tagging code for now
2025-07-13 17:38:19 +02:00
Tobias Schmitz
eb9a3359d5
feat: generate tags for lists and enums
2025-07-13 17:27:02 +02:00
Tobias Schmitz
a495724813
feat: mark all shapes as artifacts
2025-07-12 20:02:28 +02:00
Tobias Schmitz
e0074d6e39
refactor: make TableCell::kind #[parse] instead of #[synthesized]
2025-07-11 14:45:45 +02:00
Tobias Schmitz
08719237c2
feat!: for now don't generate paragraphs
2025-07-09 10:18:48 +02:00
Tobias Schmitz
8998676acb
feat: group artifacts
...
span one artifact tag across all content inside an artifact
2025-07-09 10:18:39 +02:00
Tobias Schmitz
0c09c7d666
Merge branch 'main' into pdf-accessibility
2025-07-08 14:57:51 +02:00
Tobias Schmitz
edd213074f
refactor: remove general api to set cell kind and add pdf.(header|data)-cell
2025-07-08 14:14:37 +02:00
Tobias Schmitz
070a0faf5c
fixup! test: table header id generation
2025-07-08 14:14:21 +02:00
Tobias Schmitz
2445bb4361
fix: table header hierarchy resolution
2025-07-08 11:28:35 +02:00
Laurenz
0a3c6939dd
Rewrite foundations of native elements ( #6547 )
2025-07-08 08:52:43 +00:00
Tobias Schmitz
7d5b9a716f
feat: wrap table cell content in a paragraph
2025-07-07 12:30:56 +02:00
Tobias Schmitz
b0d3c2dca4
test: table header id generation
2025-07-07 12:28:53 +02:00
Tobias Schmitz
58c6729df4
feat: generate human readable table cell IDs
...
in almost all real-world cases these IDs require less memory than the binary IDs
used before, and they are also require less storage in PDF files, since binary
data is encoded in hex escape sequences, taking up 4 bytes per byte of data.
2025-07-07 10:52:20 +02:00
Tobias Schmitz
cc3a68ecb1
Remove duplicate language computation ( #6557 )
2025-07-04 17:00:45 +00:00
Tobias Schmitz
157e0fa142
fix: generate cell id with correct indices
2025-07-04 15:56:39 +02:00
Tobias Schmitz
4dceb7f5ef
refactor: update krilla
2025-07-04 10:37:46 +02:00
Tobias Schmitz
7892a8c726
chore: update krilla
2025-07-03 18:43:20 +02:00
Tobias Schmitz
f324accff9
feat: generate paragraphs
2025-07-03 18:43:20 +02:00
Tobias Schmitz
0bc39338a1
fix: handle some edge cases instead of panicking
2025-07-03 18:43:20 +02:00
Tobias Schmitz
377dc87325
refactor: split up pdf tagging code into multiple modules
2025-07-03 18:43:20 +02:00
Tobias Schmitz
50cd81ee1f
feat: generate headers attribute table cells
...
- fix marking repeated headers/footers as artifacts
- fix table row grouping with empty cells
2025-07-03 18:43:17 +02:00
Tobias Schmitz
746926c7da
fix: ignore repeated table headers/footers in tag tree
2025-07-03 18:43:15 +02:00