Jump to content

How to Create Accessible LibreOffice files

From The Document Foundation Wiki
This page is a translated version of the page Accessibility/Creating Accessible LibreOffice Files and the translation is 19% complete.

Attention : le titre d’affichage « How to Create Accessible LibreOffice files » écrase l’ancien titre d’affichage « Accessibilité/Créer des fichiers LibreOffice accessibles ».

Comment créer des fichiers PDF LibreOffice accessibles

La création de contenus accessibles n’aide pas seulement les personnes handicapées à y accéder, naviguer dedans et les comprendre, mais cela comporte aussi de nombreux avantages pour tout le monde.

Une bonne accessibilité, cela signifie aussi une meilleure utilisation de vos contenus dans divers autres technologies, d’assistance ou autre. Cette page présente une liste d'actions qui, cumulées, contribuent à l’accessibilité.

Comment exécuter le vérificateur d’accessibilité de LibreOffice

Exécuter le vérificateur d’accessibilité (PC et Mac)

Vous pouvez utiliser le vérificateur d’accessibilité dans Writer pour vous assurer que le document est vraiment accessible. Il peut trouver des problèmes potentiels d’accessibilité et vous aider à les résoudre. Le vérificateur d’accessibilité peut être exécuté quand vous le voulez.

  1. Ouvrir le fichier original dans LibreOffice Writer.
  2. Cliquer sur Outils à partir du menu et aller sur Vérification de l’accessibilité... (ou Ctrl + 8).
  3. Suivre les indications dans le panneau Vérificateur d’accessibilité du volet latéral pour corriger les problèmes.

Vérifier l’accessibilité en cours de travail

Les informations du panneau Vérificateur d’accessibilité sont dynamiques, elles se mettent à jour au fur et à mesure des modifications du document.

Comment enregistrer un PDF balisé

Enregistrer un PDF balisé avec LibreOffice (PC et Mac)

  1. Ouvrir le fichier original dans LibreOffice
  2. cliquer sur le menu Fichier puis Exporter vers > Exporter au format PDF.
  3. Dans la boite de dialogue Options PDF, vérifier que les cases PDF marqué (ajouter la structure du document) et Exporter le plan et autres éléments de structure sont cochées.
  4. Cliquer sur Exporter.

Comment ajouter des titres

Ajouter des titres dans LibreOffice Writer (PC et Mac)

Transformer du texte en titres.

  1. Ouvrir le document original dans LibreOffice Writer.
  2. Aller sur le texte qui doit devenir un titre.
  3. Dans la barre d’outils Formatage, dans le menu déroulant Appliquer les styles de paragraphe choisir le niveau de titre approprié. Si vous ne voyez pas le style désiré, vous pouvez descendre sur Plus de styles. Vous pouvez aussi passer par le Volet latéral ou utiliser les raccourcis clavier.
  4. Répéter l’opération pour tous les paragraphes concernés.


Screen capture of the Paragraph Style dropdown menu in LibreOffice on a PC
Screen capture of the Paragraph Style dropdown menu in LibreOffice on a PC

Mise en forme des titres dans Writer

‘’’Personnaliser l’apparence des styles de titre.’’’

  1. Dans la liste déroulante Styles de paragraphe ou dans le Volet latéral, aller sur le style que vous voulez modifier.
  2. Cliquer sur Éditer le style à partir de la liste déroulante, ou, dans le Volet latéral, faire un clic droit sur le site et aller sur Éditer le style.
  3. Procéder à toutes les modifications désirées (police, taille, espacements, etc.) dans Police, Effets de caractère, Retraits et espacements, etc., cliquer sur OK pour valider et terminer. Notez que si vous cliquez sur Appliquer, les changements s’appliquent immédiatement et la boite de dialogue reste ouverte, mais ça ne valide pas les modifications.
  4. Enregistrer le document.
    Screen capture of the Paragraph Style dropdown menu in LibreOffice on a PC
    Screen capture of the Paragraph Style dropdown menu in LibreOffice on a PC

Adding titles in LibreOffice Impress (PC)

  1. Open the original in LibreOffice Impress.
  2. Click the first slide which contains a title.
    Screen capture of a LibreOffice Impress file on a PC
    Screen capture of a LibreOffice Impress file on a PC
  1. Open the Properties menu on the right side. Open the Layouts section. As your slide contains a title, choose one of the layouts that best fit the structure of your slide.
    Screen capture of Layouts in LibreOffice Impress on a PC
    Screen capture of Layouts in LibreOffice Impress on a PC
  2. If the already existing title and content show up nicely within the provided title and content boxes, it means the slide uses the layout correctly.
    Screen capture of a Title in LibreOffice Impress on a PC
    Screen capture of a Title in LibreOffice Impress on a PC
  1. If an empty title and text box show up on top of the already existing text boxes, it means the title and text have to be transferred to these boxes. Transfer the text for the title to the title box, and content to the content boxes.
    Screen capture of Layouts being applied in LibreOffice Impress on a PC
    Screen capture of Layouts being applied in LibreOffice Impress on a PC
  2. Repeat these steps for all the slides that appear to have titles and save the document.

Adding titles in LibreOffice Impress (Mac)

  1. Open the original in LibreOffice Impress.
  2. Click the first slide which contains a title.
    Screen capture of a LibreOffice Impress file on a Mac
    Screen capture of a LibreOffice Impress file on a Mac
  1. Open the Properties menu on the right side. Open the Layouts section. As your slide contains a title, choose one of the layouts that best fit the structure of your slide.
    Screen capture of Layouts in LibreOffice Impress on a Mac
    Screen capture of Layouts in LibreOffice Impress on a Mac
  2. If the already existing title and content show up nicely within the provided title and content boxes, it means the slide uses the layout correctly.
    Screen capture of a Title in LibreOffice Impress on a Mac
    Screen capture of a Title in LibreOffice Impress on a Mac
  1. If an empty title and text box show up on top of the already existing text boxes, it means the title and text have to be transferred to these boxes. Transfer the text for the title to the title box, and content to the content boxes.
    Screen capture of Layouts being applied in LibreOffice Impress on a Mac
    Screen capture of Layouts being applied in LibreOffice Impress on a Mac
  2. Repeat these steps for all the slides that appear to have titles and save the document.

How to add alternative descriptions to images in a document

Alternative descriptions are also known as Alternative Text or (alt text). Screen readers speak the text, which describes the non-text content that the user may not be able to see.

Adding an image description in LibreOffice Writer (PC)

  1. Open the original in LibreOffice Writer.
  2. Double click the image. The Image dialog box shows up.
  1. Click the Options tab in the Image dialog box.
    Screen capture of an image's options in LibreOffice Writer on a PC
    Screen capture of an image's options in LibreOffice Writer on a PC
  2. Enter a brief description for the image in the Name field.

Adding an image description in LibreOffice Writer (Mac)

  1. Open the original in LibreOffice Writer.
  2. Double click the image. The Image dialog box shows up.
  1. Click the Options tab in the Image dialog box.
    Screen capture of an image's options in LibreOffice Writer on a Mac
    Screen capture of an image's options in LibreOffice Writer on a Mac
  2. Enter a brief description for the image in the Name field.

Adding an image description in LibreOffice Impress (PC)

  1. Open the original in LibreOffice Impress
  2. Select the image. Click Format in the menu bar and select Description from the list. The Description panel shows up.
    Screen capture of an image's options in LibreOffice Impress on a PC
    Screen capture of an image's options in LibreOffice Impress on a PC
  1. Enter a brief description for the image in the Description box. If the description is long, a summarized Title should also be provided.
  2. Click OK to save your changes.
  3. Repeat these steps for all images in the document. Save the document.

Adding an image description in LibreOffice Impress (Mac)

  1. Open the original in LibreOffice Impress
  2. Select the image. Click Format in the menu bar and select Description from the list. The Description panel shows up.
    Screen capture of an image's options in LibreOffice Impress on a Mac
    Screen capture of an image's options in LibreOffice Impress on a Mac
  1. Enter a brief description for the image in the Description box. If the description is long, a summarized Title should also be provided.
  2. Click OK to save your changes.
  3. Repeat these steps for all images in the document. Save the document.

How to add headers to a table

Adding headers to a table in LibreOffice Writer (PC)

  1. Open the original in LibreOffice Writer.
  2. Ensure the text in the first row functions as a title and identifies what each column is for. E.g: Week, Topic, Date and so on.
  3. Right-click the table and select Table Properties. Or, select Table Properties from the bottom or top menu. The Table Format dialog box shows up.
  1. In the Table Format dialog box, select the Text Flow tab. Make sure the Repeat heading check box is selected and that at least the first row is filled out.
    Screen capture of Table Format options in LibreOffice Writer on a PC
    Screen capture of Table Format options in LibreOffice Writer on a PC
  2. Repeat these steps for tables in the document. Save the document.

Adding headers to a table in LibreOffice Writer (Mac)

  1. Open the original in LibreOffice Writer.
  2. Ensure the text in the first row functions as a title and identifies what each column is for. E.g: Week, Topic, Date and so on.
  3. Right-click the table and select Table Properties. Or, select Table Properties from the bottom or top menu. The Table Format dialog box shows up.
  1. In the Table Format dialog box, select the Text Flow tab. Make sure the Repeat heading check box is selected and that at least the first row is filled out.
    Screen capture of Table Format options in LibreOffice Writer on a Mac
    Screen capture of Table Format options in LibreOffice Writer on a Mac
  2. Repeat these steps for tables in the document. Save the document.

Adding headers to a table in LibreOffice Impress (PC)

  1. Open the original in LibreOffice Writer.
  2. Ensure the text in the first row functions as a title and identifies what each column is for. E.g: Week, Topic, Date and so on.
  3. Right-click the table and select Table Properties. Or, select Table Properties from the bottom or top menu. The Table Format dialog box shows up.
  1. In the Table Format dialog box, select the Text Flow tab. Make sure the Repeat heading check box is selected and that at least the first row is filled out.
    Screen capture of Table Design options highlighting the "Header row" option in LibreOffice Impress on a PC
    Screen capture of Table Design options highlighting the "Header row" option in LibreOffice Impress on a PC
  2. Repeat these steps for tables in the document. Save the document.

Adding headers to a table in LibreOffice Impress (Mac)

  1. Open the original in LibreOffice Writer.
  2. Ensure the text in the first row functions as a title and identifies what each column is for. E.g: Week, Topic, Date and so on.
  3. Right-click the table and select Table Properties. Or, select Table Properties from the bottom or top menu. The Table Format dialog box shows up.
  1. In the Table Format dialog box, select the Text Flow tab. Make sure the Repeat heading check box is selected and that at least the first row is filled out.
    Screen capture of Table Design options highlighting the "Header row" option in LibreOffice Impress on a Mac
    Screen capture of Table Design options highlighting the "Header row" option in LibreOffice Impress on a Mac
  2. Repeat these steps for tables in the document. Save the document.

Accessible Lists

To make it easier for screen readers to read your document, organize the information in your document into small chunks with bullets or numbered lists.

  • Avoid adding a plain paragraph in the middle of a list as this can confuse screen readers.

How to set a language

Setting the document language in LibreOffice Writer (PC)

  1. Open the original in LibreOffice Writer.
  2. Determine the main language of the text. When a lot of text is underlined with red squiggly lines, this is often an indication that the language isn’t set correctly.
  1. Set the correct document language by clicking on Tools > Language > For all Text > More…. The Options - Language Settings - Languages dialog box shows up.
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Writer on a PC
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Writer on a PC
  2. Under Default Languages for Documents, select the correct document language from the dropdown. If you check For the current document only, your choice will only apply to the current document.
  1. Click OK and save the document.
    Screen capture of the "Language" options modal in LibreOffice Writer on a PC
    Screen capture of the "Language" options modal in LibreOffice Writer on a PC

Setting the document language in LibreOffice Impress (PC)

  1. Open the original in LibreOffice Impress.
  2. Determine the main language of the text. When a lot of text is underlined with red squiggly lines, this is often an indication that the language isn’t set correctly.
  1. Set the correct document language by clicking on Tools > Language > For all Text > More…. The Options - Language Settings - Languages dialog box shows up.
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Impress on a PC
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Impress on a PC
  2. Under Default Languages for Documents, select the correct document language from the dropdown. If you check For the current document only, your choice will only apply to the current document.
  1. Click OK and save the document.
    Screen capture of the "Language" options modal in LibreOffice Impress on a PC
    Screen capture of the "Language" options modal in LibreOffice Impress on a PC

Setting the document language in LibreOffice Writer (Mac)

  1. Open the original in LibreOffice Writer.
  2. Determine the main language of the text. When a lot of text is underlined with red squiggly lines, this is often an indication that the language isn’t set correctly.
  1. Set the correct document language by clicking on Tools > Language > For all Text > More…. The Options - Language Settings - Languages dialog box shows up.
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Writer on a Mac
    Screen capture of the "Tools" menu highlighting "Language" in LibreOffice Writer on a Mac
  2. Under Default Languages for Documents, select the correct document language from the dropdown. If you check For the current document only, your choice will only apply to the current document.
  1. Click OK and save the document.
    Screen capture of the "Language" options modal in LibreOffice Writer on a Mac
    Screen capture of the "Language" options modal in LibreOffice Writer on a Mac

Setting the document language in LibreOffice Impress (Mac)

  1. Click on the View tab and select Outline. Select the text from all the slides that need changing.
  2. Right-click and choose Character… from the menu. The Character dialog box shows up.
  3. On the Fonts tab, select the correct language for the selected text and click OK.
  1. Repeat these steps for all the text that needs changing.
  2. Save the document.
    Screen capture of the "Language" options modal in LibreOffice Impress on a Mac
    Screen capture of the "Language" options modal in LibreOffice Impress on a Mac

Choosing a language for selected text in LibreOffice Writer (PC)

Text that is still underlined with red squiggly lines or paragraphs in a different language need their language set separately.

  1. Select all the text in specific text boxes that need changing.
  2. Right-click the selected text, and choose Character… from the menu. The Character dialog box shows up.
  3. On the Font tab, select the correct language for the selected text and click OK.
  1. Repeat these steps for all the text that needs changing.
  2. Save the document.
    Screen capture of the "Character" options modal in LibreOffice Writer on a PC
    Screen capture of the "Character" options modal in LibreOffice Writer on a PC

Choosing a language for selected text in LibreOffice Impress (PC)

Text that is still underlined with red squiggly lines or paragraphs in a different language need their language set separately.

  1. Select all the text in specific text boxes that need changing.
  2. Right-click the selected text, and choose Character… from the menu. The Character dialog box shows up.
  3. On the Fonts tab, select the correct language for the selected text and click OK.
  1. Repeat these steps for all the text that needs changing.
  2. Save the document.
    Screen capture of the "Character" options modal in LibreOffice Impress on a PC
    Screen capture of the "Character" options modal in LibreOffice Impress on a PC

Choosing a language for selected text in LibreOffice Writer (Mac)

Text that is still underlined with red squiggly lines or paragraphs in a different language need their language set separately.

  1. Click on the View tab and select Outline. Select the text from all the slides that need changing.
  2. Right-click and choose Character… from the menu. The Character dialog box shows up.
  3. On the Font tab, select the correct language for the selected text and click OK.
  1. Repeat these steps for all the text that needs changing.
  2. Save the document.
    Screen capture of the "Character" options modal in LibreOffice Writer on a Mac
    Screen capture of the "Character" options modal in LibreOffice Writer on a Mac

Choosing a language for selected text in LibreOffice Impress (Mac)

Text that is still underlined with red squiggly lines or paragraphs in a different language need their language set separately.

  1. Select all the text in specific text boxes that need changing.
  2. Right-click the selected text, and choose Character… from the menu. The Character dialog box shows up.
  3. On the Fonts tab, select the correct language for the selected text and click OK.
  1. Repeat these steps for all the text that needs changing.
  2. Save the document.
    Screen capture of the "Character" options modal in LibreOffice Impress on a Mac
    Screen capture of the "Character" options modal in LibreOffice Impress on a Mac

Add accessible hyperlink text

Screen readers may scan links, so ensure links have accurate information about the destination by using link texts with the full title of the destination page.

Accessible Tables

If possible, avoid tables and show the data another way, if tables are needed, keep them simple and for data only.

  • Specify column header information, also identify the header row with the repeat heading option. As this can be read by the screen reader to help the user understand the tables contents. It also helps describe to the user where the cursor is located in the table, so the user can navigate the table.
  • If hyperlinks are used in a table, edit the hyperlinks texts so they do not break mid-sentence.
  • Test tables display OK on other devices such as smartphones and tablets.
  • Avoid fixed width tables.
  • Avoid split cells, merged cells, or nested tables, these can confuse screen readers.
  • Avoid completely blank rows or columns, as a screen reader can mislead the user into thinking it is the end of the table's content.

How to adjust spacing between sentences, lines and paragraphs

Adding extra spacing between sentences, lines and paragraphs

Dyslexia makes it hard to see text on a page, it is sometimes described as text overlapping as it is being looked at. Increasing the spacing between sentences, lines and paragraphs can help, this can be done by adjusting the document's indents and spacing.

  1. Open the original in LibreOffice.
  2. Click Format from the menu and select Paragraph.
  3. Adjust the options on the Indents & Spacing tab.

Accessible font styles

  • Choose a font that makes reading a document easier, think of people with low vision, dyslexia and other disabilities.
  • Avoid using all capital letters and other excessive font styling.
  • Avoid using colours to convey a meaning, some people might miss the meaning due to colour blindness. Instead:
  • Use bold or a larger font.
  • Hyperlinks should be underlined so that people with colour blindness know that the text is linked even if they can’t see the colour.

Good contrast and colours to avoid

  • Have a good contrast between colours of the text and the background to make the text is easy to see. This helps people with low vision.
  • Avoid light blue colours, as this colour is often the first colour that people start to struggle to see when they age.

Paragraph banners

Add paragraph banners, which can help people who are visually impaired and/or have dyslexia. Make the background colour block extend across the width of the document, you could highlight the text within the banner.

  • Format > Paragraph > Area tab > Colour > choose a colour (avoid the colour light blue).

Avoid content that is only in the Header or Footer

Screen readers do not always scan and read Header or Footer sections of documents, as these areas are not always visible in some office suites. Avoid having content that is only in the Header or Footer when it is important to the user.

How to test Accessibility with a Reader

With a free reader you can test reading the document out aloud to get an idea for how to optimise the document if needed. A free and open source multiplatform document viewer called Okular claims to be able to read PDFs and OpenDocument files aloud.