Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

169
Visualizações
Is there a way to see if a PDF is tagged for screen readers with JavaScript?

I am interested in making a simple checker that receives a PDF as input and looks to see if that PDF is tagged for screen readers. This information isn't available in the metadata. Does anyone know/can point me in the right direction, if doing this is possible with JavaScript, possibly with PDF.js?

Thank you!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There are PDFs that contain objects with tags that can be screen read without the tags and there are pdfs with tags that cannot be screen read and also correctly Tagged PDF files that fully conform to all PDF/UA or PDF/A-2 requirements.

Thus for screen reading there should be no point looking for simplistic tags or tagging other than to test the file passes muster for using a conformance checker.

From iText

If you have a document that has a picture of a fox and a dog, iText can't add any missing alt text for those images, because iText can't see that fox nor that dog.

PDF objects can be encrypted or encoded thus not always easy to detect as a simple structure, however some data must not be encoded. If you are lucky the unencoded metadata may include the string pdfua or PDF/UA, which does not prove conformance just an attempt. Also beware any tagged file that has an article about PDF/UA production but is not one :-) enter image description here

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda