Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 253 v2 #217

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,12 @@ export const onRouteUpdate = ({ location, prevLocation }) => {
link.href = `${referenceBaseUrl}#tag/PDF-Properties`;
}
})
document.querySelectorAll(".accessibility-checker a").forEach(link => {
link.setAttribute("daa-ll", link.textContent);
if (link.textContent === "API Reference") {
link.href = `${referenceBaseUrl}#tag/PDF-Accessibility-Checker`;
}
})
document.querySelectorAll(".watermark a").forEach(link => {
link.setAttribute("daa-ll", link.textContent);
if (link.textContent === "API Reference") {
Expand Down
8 changes: 8 additions & 0 deletions src/pages/apis/pdf-accessibility-auto-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ autoTagapiHeroAssetImg accessibility-auto-tag-hero

<AutoTagAPI />

<AnnouncementBlock slots="heading, text, button" theme="dark" />

### Try the PDF Accessibility Checker API

Explore our latest API designed to check PDF accessibility according to the machine-verifiable requirements of PDF/UA and WCAG 2.0, generating an accessibility report.

[Learn More](https://developer.adobe.com/document-services/docs/apis/#tag/PDF-Accessibility-Checker)

<WrapperComponent slots="content" repeat="1" theme="lightest" className="why-pdf-services Why-PDF-Services-API"/>

<BenefitsOfAccessibilityTitle/>
Expand Down
29 changes: 29 additions & 0 deletions src/pages/apis/pdf-services/check-pdf-accessibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Adobe Developer — PDF Services API — CHECKER PDF ACCESSIBILITY
---

<TextBlock slots="heading, buttons, text1, text2" hasCodeBlock theme="dark" className="bgBlue linking accessibility-checker"/>

### Check PDF Accessibility

- [See documentation](https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/pdf-accessibility-checker-api/)

Check accessibility of PDF documents to see if they meet the machine-verifiable requirements of PDF/UA and WCAG 2.0. Generate an accessibility report that checks over thirty items across four categories and reports them as ‘passed’, ‘failed’, or ‘needs manual check’. Option to embed the HTML report within the PDF or export it separately as a JSON file and to specify the pages in a PDF to be checked. The API leverages the same technology as the Accessibility Checker found in Acrobat Pro.

See our public [API Reference](https://developer.adobe.com/document-services/docs/apis/#tag/PDF-Accessibility-Checker) and quickly try our APIs using the Postman collections

<CodeBlock slots="heading, code" repeat="1" languages="curl" />

#### REST API

```bash
curl --location --request POST 'https://pdf-services.adobe.io/operation/accessibilitychecker' \
--header 'x-api-key: {{Placeholder for client_id}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{Placeholder for token}}' \
--data-raw '{
"assetID": "urn:aaid:AS:UE1:54cbf87f-d7f5-4918-8e4b-9f1878678e68",
"pageStart":1,
"pageEnd":5
}'
```
9 changes: 8 additions & 1 deletion src/pages/apis/pdf-services/key-features-code-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import OcrPDF from './ocr-pdf.md';
import SecurePDF from './secure-pdf.md';
import RemovePDFPassword from './remove-pdf-password.md';
import GetPDFProperties from './get-pdf-properties.md';
import CheckPDFAccessibility from './check-pdf-accessibility.md';
import PDFWatermark from './pdf-watermark.md';
import SplitPDF from './split-pdf.md';
import CombinePDF from './combine-pdf.md';
Expand All @@ -32,7 +33,7 @@ import EsealAPI from './e-seal.md'

- [Start for free](https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-services-api)

<TabsBlock orientation="vertical" slots="heading, image, content" repeat="21" theme="dark" className='bgBlue code-block-0 key-features-code-block service-code-block tabBlockAlign' />
<TabsBlock orientation="vertical" slots="heading, image, content" repeat="22" theme="dark" className='bgBlue code-block-0 key-features-code-block service-code-block tabBlockAlign' />

### Extract PDF Content

Expand Down Expand Up @@ -100,6 +101,12 @@ import EsealAPI from './e-seal.md'

<GetPDFProperties/>

### Check PDF Accessibility

![EMPTY_ALT](../../images/accesiblity_check.svg)

<CheckPDFAccessibility/>

### Watermark PDF

![EMPTY_ALT](../../images/watermark_pdf_icon.png)
Expand Down
13 changes: 13 additions & 0 deletions src/pages/images/accesiblity_check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3252,7 +3252,7 @@ img[alt=adobe-support] {
}
}

.key-features-code-block #tabItem_11>div>p>span{
.key-features-code-block #tabItem_12>div>p>span{
width: 18px !important;
}

Expand Down Expand Up @@ -3305,4 +3305,7 @@ img[alt=adobe-support] {
.iframe-container.gdpr {
height: 1090px !important;
}
}
}
#tabItem_11 img {
width: 25px !important;
}
Loading