LibreOffice Podcast, Episode #5 – Accessibility in Free and Open Source Software
LibreOffice strives to be accessible for people with special needs or limitations, such as visual impairment or limited motor abilities. How does the software work towards this? What accessibility features are in the pipeline? And how can all users help out? We talk to Michael Weghorn about these topics – and more. (This episode is also available on PeerTube.)
Please confirm that you want to play a YouTube video. By accepting, you will be accessing content from YouTube, a service provided by an external third party.
If you accept this notice, your choice will be saved and the page will refresh.
Transcript
Mike Saunders: Welcome to episode five of the LibreOffice and Free and Open Source Software podcast. I’m Mike Saunders from The Document Foundation, the small nonprofit organisation that coordinates the LibreOffice project and community. In the last four episodes, we’ve talked about marketing, design, QA (quality assurance), and documentation in the LibreOffice project and in the wider open-source world as well. But today we’re talking about another topic: accessibility in LibreOffice and open source software. Accessibility is a topic that doesn’t always get the most attention, but is actually really important as well. I’m joined by my colleague at The Document Foundation, Michael Weghorn. Hi, Michael.
Michael Weghorn: Hi, Mike.
Mike Saunders: How’s it going?
Michael Weghorn: It’s going well, thank you.
Mike Saunders: Great. Michael has been involved in LibreOffice for many years, but recently joined The Document Foundation team as a developer. Historically, we haven’t really had many developers at TDF, although we can all develop a bit, but we’ve been focused on coordinating the community. Michael joined recently to work on accessibility topics – to improve LibreOffice’s accessibility. But that’s quite a broad term in itself. What does accessibility actually mean, Michael? What makes software accessible?
Michael Weghorn: Accessibility means that software is usable by as many users as possible, in particular by people with certain kinds of disabilities. Accessibility, I think, is pretty well known in the real world when you think of people with wheelchairs, for example, and then it’s important that roads or sidewalks can be used by them as well. It’s similar in the digital world, where people with disabilities have special needs as well. So it’s important for software to be designed in a way that’s usable by everyone.
Mike Saunders: So what are some of these disabilities or features some people have that make software difficult to use, or that mean software needs to be adapted? One famous example is blind people. It always amazes me that blind people can use software so well if the app has good accessibility. You talk to somebody online, you’re exchanging messages with somebody or on Bugzilla, and then later you find out that they’re blind – but have been communicating and writing all along and using the software, and you think, “Wow, that’s amazing.” Visual impairment is one thing, but what else is there that can make software inaccessible?
Michael Weghorn: There’s a wide range of disabilities. For example, motor disabilities: people who can’t use their hands or input devices as other people might be able to. There are two aspects to helping people with disabilities. One is for the software to be really usable. There’s also special hardware, like special input devices. For example, people who don’t use a normal mouse but would use a joystick. There are also devices tracking eye movement. So there’s quite a wide range of special input devices, and also output devices, for example Braille devices that would output text in Braille.
These hardware devices are there, and it’s important for software to handle this kind of input very well – and also to be robust for all this kind of assistive technology. On every single operating system or platform, like Linux, Windows, or macOS, there’s a particular specification of how the interaction between an application and assistive technologies like screen readers works.
So it’s important for an application to support that well. There are also many other aspects that are not directly tied to that specification. For example, high contrast is one important thing. If you have light gray text on a white background, that’s very bad to read for everyone. Improving the contrast really helps everyone. The Web Content Accessibility Guidelines are kind of the de facto standard for most applications, or for most areas when it comes to digital accessibility. They describe certain aspects that are important for applications to take into account.
Another example would be people who are sensitive to motion. In the old days, it was kind of common for ads on the web to have flashing input or so, which is annoying for many. But for some people it can have a serious impact, and they can suffer from that pretty badly. So it’s important to support disabling any motion like that or any animation effects.
Mike Saunders: I remember Linux window managers with the wobble effect. Well UNIX window managers, beyond Linux. There was one, I think it was called Project Looking Glass, and it was like a cube spinning around. Your virtual desktop was on a cube. I was using it, and it made me feel sick as well. I thought this might look cool, but it’s not a great idea.
Accessibility is important so that everybody can use the software, even if they have certain limitations or do some things differently. But it’s also a legal requirement in some places as well, isn’t it?
Michael Weghorn: Yes, absolutely. In the US, there’s, for example, the ADA, the Americans with Disabilities Act. In Europe, just recently – I think in July – the European Accessibility Act came into force, which requires certain criteria to be met, and there are fines that apply if they’re not met. So it’s also a legal requirement. These are just two examples; there’s similar legislation elsewhere. As I mentioned before, the Web Content Accessibility Guidelines describe the technical things that need to be implemented. That’s pretty much the same everywhere, and then the legal framework is usually based on that technical foundation.
Mike Saunders: Right. Although I’m not really a developer, I try to keep an eye on lots of different things in the LibreOffice project. It strikes me that when you add a feature, bearing accessibility in mind, there are lots of different things you have to think about.
It’s easy to add a feature and say, “Well, we’ll add a keyboard shortcut like here, Control, and then on the other side of the keyboard.” But if you’ve got limited capacity to move, or you can only use one hand, then these giant keyboard shortcuts are a problem.
There are so many things like that as well. Tooltips, I guess, so a screen reader can go over icons and tell you what they do or read a description in tooltips. It’s easy to add a feature, but to fully implement it with good documentation, APIs, and accessibility is obviously more work, but really important. How do you think LibreOffice actually stands at the moment in terms of accessibility? Where is it good? Where does it need improvement?
Michael Weghorn: I think that in general there are two main aspects to accessibility in LibreOffice. One is that the user interface itself is usable by everyone, for example by screen reader users. Another aspect is the accessibility of the documents that are created in LibreOffice. For example, if a user inserts an image in LibreOffice and then exports the document to PDF, it’s important that even people who can’t see the image have some way to perceive what the image is about. LibreOffice offers a way to insert a text alternative description that would then be read out by screen readers when people use a PDF viewer for the document. So those are the two main aspects.
LibreOffice has the means to provide those accessibility descriptions and metadata. There’s even a PDF/UA export feature. PDF/UA stands for PDF Universal Accessibility. That’s a standard to make PDF documents accessible, and it’s required in quite some countries, in particular for governments and public administrations. LibreOffice supports that. There’s also a so-called accessibility checker that can explicitly be used to check a document for accessibility problems.
For example, if there are images that don’t have an alternative text description, if the contrast is bad, or if people use hard formatting — if they don’t use paragraph styles for headings, for example, but manually format the text as bold and use a larger font. While it might look the same at first glance, at the semantic level the information gets lost. Assistive technology would be able to identify the structure of the document, or the PDF viewer or document viewer would expose that information. Assistive technology, for example, has the feature to jump to the next heading and also to see the structure of the document. That’s helpful for people without disabilities, of course.
If you have a PDF viewer or use the navigation in LibreOffice, it’s very helpful to know how the document is structured and to see that there are, say, five top-level headings, so you can navigate easily.
Mike Saunders: Another example of the importance of styles instead of direct formatting. We always say that when you see people pressing the space bar to move text around instead of centering, or Ctrl+B to bold certain letters and words and make their own headlines.
I guess one of the challenges in accessibility is that some things LibreOffice needs to provide, but many accessibility tools and features are provided by the operating system. LibreOffice works on Linux, macOS, Windows, Haiku OS, and a lot of smaller ones as well, the BSDs. Is it challenging to ensure accessibility when some things you have to do in the app, but a lot of the time we get messages from people saying, “Why can’t LibreOffice read out documents?” I say that’s normally a feature of the operating system; it’s not the job of the office suite to do that. It would be reinventing the wheel if every app had its own way to read out text. That should really be provided by the operating system. But is it difficult making the office suite work on these different platforms with the same accessibility features?
Michael Weghorn: Yes, it certainly sometimes is. I think that’s more for the first aspect, when it comes to the user interface, than for the document accessibility I was talking about before. There are standards for how things need to be implemented or how they need to be specified in a document, for example, the PDF standard and the PDF/UA standard I mentioned before. If LibreOffice properly implements that, then PDF viewers should do whatever is needed to make it accessible to assistive technology.
On the different platforms, as I mentioned before, they have a specification of how these accessibility properties should be exposed or made available. For example, on Linux that protocol is called AT-SPI. On Windows, there is IAccessible2 or UIA, and on macOS there’s NSAccessibility. So in general, there is a clear specification of how content should be made accessible. In reality, it’s not always as clear why something doesn’t work when it doesn’t.
For example, why one of the assistive technologies, like a screen reader, doesn’t speak text even though it is available, even though LibreOffice does implement what the specification says. In practice, it’s sometimes necessary to inspect the whole stack to see what LibreOffice implements and also what the assistive technology, like a screen reader, expects, and everything in between in the software stack.
For example, on Linux, we use so-called UI toolkits or libraries, which are software components that provide some of the functionality so we can make use of it. Sometimes it’s really necessary to check what LibreOffice does, what this UI toolkit does, what the other library or software component that translates from the UI toolkit to the platform accessibility layer does, and then what the screen reader consumes or expects.
All of these are involved, and the problem can be anywhere. I’ve actually been contributing to multiple of these projects, and I’m very thankful that there’s really good cooperation with people from all these projects. I’ve received a lot of help and input, so I’m really thankful for that. But sometimes it’s not instantly clear where the problem is if something doesn’t work right away.
Mike Saunders: That does sound challenging. But it’s good to hear that upstream from these projects are collaborating well. I guess that’s one of the things you’re working on. What are some of the other tasks and projects you’re working on, or have been working on recently?
Michael Weghorn: I’ve been doing some code cleanup or refactoring. That’s not very interesting from a user perspective necessarily. It’s more like preparing for upcoming changes. One thing I’m looking into is improving Writer accessibility as well. There is, for example, some issue with a screen reader called JAWS on Windows, which doesn’t reliably read out the paragraph text when you switch to a new paragraph. Improving that kind of depends on quite a lot of other low-level changes I’ve been doing over the last months. That’s one thing.
Then the main developer of the Orca screen reader that’s used on Linux, Joanmarie Diggs, has been adding new features to Orca. Structural navigation, or browse mode, is another word for it, which allows you to navigate from one heading to the next, for example. That’s a feature that so far was only implemented in Orca for web browsers, but she made that generally applicable so it could be used in LibreOffice as well.
That needs some work in both LibreOffice and the UI toolkits I mentioned earlier. I’ve been implementing the so-called AT-SPI collection interface in the Qt UI toolkit, because that’s one of the preconditions for Orca to be able to make use of that feature, for example, so that the Qt variant of LibreOffice on Linux can use that. That’s one of the things that needs to be done. There are quite a lot of bigger or smaller bits and pieces here and there.
Mike Saunders: Right. And how can people help out and get involved? I guess reporting accessibility issues is one good starting point.
Michael Weghorn: Yes, definitely. Testing in particular, if you have special needs in a certain way, either you use assistive technology or otherwise, it’s always very appreciated if people provide feedback or have ideas on how things can be improved. We also have a mailing list dedicated to accessibility, so if people are interested in the topic, it’s great if they join the discussion and bring up topics there. Then, as you mentioned, Bugzilla is our issue tracker, so people can report there. They can also help add missing information to existing bug reports or qualify them more. Of course, if there are developers, we are an open-source project, so everyone can help improve the software. That’s definitely a way. If you’re interested in that, feel free to get in contact with me, of course, or the development mailing list as well.
If you’re not a developer yourself but you see some issues, there’s always the option to fund work as well, to fund some individual or company that has people with experience with LibreOffice development and can help improve the software in that regard.
Mike Saunders: In Bugzilla, is there a special category people can choose for accessibility topics?
Michael Weghorn: There are two things. We have keywords there. There’s an accessibility keyword, so if you want to mark a bug as related to accessibility, you can add that keyword. Then there’s also a so-called meta bug. That’s used to group things as well. If you have a bug and say this is related to accessibility, you can say the accessibility bug depends on this one. Then, if you click on that meta bug for accessibility, you can see everything that is related to it. It’s actually structured a bit more in smaller chunks as well. That accessibility bug also has subcategories or sub-bugs, or issues related to Linux, Windows, or macOS and certain things. In general, these are the two things to collect things: the meta bug and the keyword.
Mike Saunders: We’ll put links to these resources at the bottom of the video, underneath the video or however it’s presented. Thanks for that overview, Michael. It’s really good if people get involved and help us improve accessibility, because LibreOffice is a huge, complicated piece of software. We do what we can, but I’m sure there are some dialog boxes somewhere, right in the corner of the application, that could be improved and are rarely seen. There are experiences on the platforms as well. There are a million different combinations of operating systems, toolkits, and updates out there. The more information we have to improve LibreOffice’s accessibility, the better.
Thanks, Michael. Thanks for your time and your work. Again, we’ll put the links in the description underneath. Thanks for listening, everybody, or watching, and see you next time. Bye-bye.
Michael Weghorn: Thank you, bye-bye.







