Move interface to HTML5

Forum for developers

Move interface to HTML5

Beitragvon luc » Do Jun 16, 2016 11:29 am

Hi, I made some improvements on YaCy web interface, targeting mobile devices (Pull Request 58) and bootstrap webclient (Pull Request 9).
More generally, don't you think it would be time to move from XHTML to HTML5?
HTML5 is currently the living standard and most browsers now support it for years, even mobile ones. What's more, YaCy make use of Bootstrap which apparently rely on HTML5 doctype to work properly : http://getbootstrap.com/css/#overview-doctype ...
luc
 
Beiträge: 300
Registriert: Mi Aug 26, 2015 1:04 am

Re: Move interface to HTML5

Beitragvon luc » Mo Sep 19, 2016 5:40 pm

Hello everyone, thanks to Orbiter, in the meantime these requests have been merged, so the webclient is now in HTML5.

Any feedback or opinion about progressively switching now the classical YaCy web interface to HTML5?

I would add it could greatly be beneficial to improve accessibility more easily using modern ARIA properties.
luc
 
Beiträge: 300
Registriert: Mi Aug 26, 2015 1:04 am

Re: Move interface to HTML5

Beitragvon luc » Do Sep 29, 2016 11:14 am

Ok so after checking carefully, it is obvious that YaCy web interface pages are declared as Strict XHTML 1.0 according to their DTD, but indeed have been long time using many HTML 5 features and syntax.

You can easily check this with the W3C Markup Validation Service on your YaCy peer main search page, and compare how many validation errors are reported in XHTML 1.0 Strict validation mode (automatically detected) and forced HTML5 :
- XHTML 1.0 : 56 Errors, 56 warning(s)
- HTML 5 : 1 Warning and 1 Error

So let's fix this!
luc
 
Beiträge: 300
Registriert: Mi Aug 26, 2015 1:04 am


Zurück zu YaCy Coding & Architecture

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron