Re:Show HN: Blades – fast static site generator written in Rust
by iudqnolq on Wednesday October 14, 2020 @04:43AM
(#24774498)
As far as I know, parsing the accessibility tree is primarily limited to screen readers / brail displays. Am I missing something?
[ Parent
| on HN ]
Re:Show HN: Blades – fast static site generator written in Rust
by detaro on Wednesday October 14, 2020 @09:28AM
(#24776265)
I'm speaking of the normal DOM representation of the HTML in the page. A server-side highlighter generates HTML with css classes or styling attached that gets turned into a DOM by the browser. A JS-based highlighter edits the DOM by adding css classes or attaching styling. The in-browser representation of the end result, which a browser extension likely works with, can be the same, and how it looks like exactly is more important for their functionality than if the server or JS did it.