Skip to content

Commit

Permalink
PDF/UA-1. Update rules 7.2-30 - 7.2-32
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov authored and github-actions[bot] committed Dec 4, 2023
1 parent 40b4590 commit 1de9d9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions PDF_UA/PDFUA-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
<rule object="SEMarkedContent" tags="lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="30"/>
<description>Natural language for text in ActualText attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || ActualText == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || ActualText == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in ActualText attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand All @@ -572,7 +572,7 @@
<rule object="SEMarkedContent" tags="lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="31"/>
<description>Natural language for text in Alt attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || Alt == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || Alt == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in Alt attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand All @@ -582,7 +582,7 @@
<rule object="SEMarkedContent" tags="lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="32"/>
<description>Natural language for text in E attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || E == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || E == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in E attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand Down
6 changes: 3 additions & 3 deletions PDF_UA/WCAG-21-Complete.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="30"/>
<description>Natural language for text in ActualText attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || ActualText == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || ActualText == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in ActualText attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand All @@ -1360,7 +1360,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="31"/>
<description>Natural language for text in Alt attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || Alt == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || Alt == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in Alt attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand All @@ -1370,7 +1370,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="32"/>
<description>Natural language for text in E attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || E == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || E == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in E attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand Down

0 comments on commit 1de9d9b

Please sign in to comment.