How to make a version for the visually impaired without creating a new resource?

For example, there are several resource files, news, etc. (a great site).
Found this article
The correct direction? Or is there another way?
June 10th 19 at 15:53
1 answer
June 10th 19 at 15:55
I think the easiest option is to make 2 versions of site's styles, normal and large, contrasting.
And switch between them changing with JS the root class in the body.
No snippets there is no need
In the example from the article take into account the point that when I go to another page of the site in the session is saved, the display type of the site regular for the visually impaired.
During normal switching classes in JavaScript everything will be reset after switching to another page and the visitor will have to re-do some steps to enable themes for the visually impaired. Although, of course, You could mention that the type of display you can save, for example, in localStorage. - dereck commented on June 10th 19 at 15:58

Find more questions by tags MODX