perseids-publications / treebank-template

Template for publishing collections of treebanks.
https://perseids-publications.github.io/treebank-template/
MIT License
1 stars 9 forks source link

Improve accessibility and SEO #58

Closed zfletch closed 4 years ago

zfletch commented 4 years ago

Using Google Chrome's Lighthouse, I found a few places where changes could be made to improve accessibility, performance (slightly), and SEO:

Lighthouse also recommended loading the Arethusa JavaScript in a lazy way instead of in index.html. I did try that but, subjectively, the user experience was not good. The main page loaded a little faster, but the treebank page loaded much slower.

I tested this on Chrome, Firefox, and Safari. I don't think any of the changes could cause problems in any browser, except perhaps for loading the Arethusa styles in React components instead of in the index.html.


Before (left) and after (right):

diff