When looking at a few issues related to accessibility in XWiki, I noticed that some style changes to the visual UI would be important for low vision users but a regression for most users (especially power users). Right now, XWiki does have an ‘Extra accessibility’ user preference. This preference toggles a couple CSS rules (increased font-size and all links underlined). However, in order to give good control to the user on how the content would be displayed, I think we should add some more of those user preferences related to accessibility. A higher granularity will allow a more customized experience that can be optimized for all kind of users and all kinds of conditions.
Proposal
This is why I propose to:
Remove the existing ‘extra accessibility’ preference
Add a category with multiple accessibility preferences in the User settings > Preferences
Include the ‘Font size’ and ‘link underlining’ preferences in this category
Clarifications
Here is an unpolished prototype with extra preferences, to get an idea of what these changes would bring once a few more accessibility preferences are added:
+1. I would start with a section inside the Preferences tab, as you proposed. We can later decide to create a new tab if the number of accessibility options increases a lot.
In your screenshot you have already 5 items related to Accessibility and I’m pretty sure that the page is already scrolling vertically. I think I would do the following:
Move accessibility to its own tab
Rename “Preferences” as “General” since a lot of tabs are about preferences so its name is already not perfect
AFAIK those 5 are just ideas of what we could put in the Accessibility section, but I’m not sure if we’ll implement all of them too soon (it could take years). We’ll probably start with one or two, so I don’t think it deserves a separate tab initially.