Alas, all the benefits you list are just possibilities, not the reality. "separation of content from style" was a big thing back when csszengarden.com was making rounds, but that all is long forgotten in the name of angularreactnodecrap. Accessibility? Give me a break, how many web sites do even work without JS enabled?
I am not sure about Android, but iOS has a great accessibility support.
Re:Show HN: %%30%30: A Game
by robin_reala on Monday September 21, 2015 @08:15AM
(#10251663)
Itβs a common misconception that Javascript precludes accessibility. JS can in many ways help accessibility if done considerately.
Re:Show HN: %%30%30: A Game
by TazeTSchnitzel on Monday September 21, 2015 @09:02AM
(#10251897)
Separating style and content isn't dead. It's more popular than ever. HTML5 has brought in new semantic markup and discouraged presentational markup. Most sites even today work fine without CSS.
Screen readers support Javascript, if that's what you had in mind. http://webaim.org/projects/screenreadersurvey5/#javascript
Re:Show HN: %%30%30: A Game
by moron4hire on Monday September 21, 2015 @12:18PM
(#10253255)
There are some of us who still adhere to semantic HTML.
...what? The web is better than most native platforms in these.
The web is accessible. It has many features for screen readers and such, but more importantly, it is inherently flexible and allows content's form to be adapted to the reader's needs, thanks to the separation of content from style. A single web page, unmodified, can work on a desktop PC with a mouse and keyboard, a capacitive touch device the size of your palm, a stylus-input device the size of a laptop, a printed page, a screen reader, a ten key mobile phone from yesteryear, and more. The web lets users define custom styling that meets their needs, lets users selectively remove content (ads, for example), etc. No native platform is that flexible. Yes, some sites break screen readers, but this is true of native apps as well.
The web is incredibly embeddable. Any web page can, with one line of code, incorporate any other web page, and it "just works". You simply can't do that with native apps.
The web is composable as well. Sites can load JavaScript from each other very easily.
The web also supports resource sharing in various forms, but people don't necessarily use them.