Accessibility error (PDFs - Documents should have a meaningful title specified)

Created on 2 March 2023, almost 2 years ago
Updated 9 November 2023, about 1 year ago

PDFs - Documents should have a meaningful title specified
Need to set DisplayDocTitle flag to True in Document Property

πŸ“Œ Task
Status

Active

Version

2.2

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Dhanush JothiKumar
  • First commit to issue fork.
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    DomPDF

    $dompdf->add_info('Title', 'Your meta title');
    

    Mpdf

    $mpdf->SetTitle('My Title');
    $mpdf->SetDisplayPreferences('/DisplayDocTitle');
    

    TCPDF

    $tcpdf->SetTitle('My Title');
    $tcpdf->->setViewerPreferences([
      'DisplayDocTitle ' => TRUE,
    ]);
    
Production build 0.71.5 2024