Soft hyphens are automatically added in the content for a nicer automatic word wrap. Particularly suitable for justification. Uses Hyphenator.js.
And any other modern browser that supports JavaScript and the soft hyphen (­).
There are some arguments against client side hyphenation - true. It costs a lot of computing time and the patterns have to be loaded for each language, everytime. But I believe that hyphenation belongs to the client:
- Only the client «knows» where to break a line (and if at all).
- A html file that has been hyphenated on the server would be full of ­'s. That's ugly and nobody knows how that would be treated by search engines…
- Hyphenation on the client can be turned off to work around copy&paste- and search-bugs in most browsers.
- as JavaScript-engines are in focus of development, they become faster and faster.
- there are billions of mostly underworked clients vs. millions of often overloaded servers.
(Source)
Your browser has a bug (currently, only Firefox3 finds hyphenated words). So I don't want/can't fix this in Hyphenator.js. The only thing we can do is to turn hyphenation off before searching.
(Source)
This is fixed since version 3.0.0.
(Source)
Welcome to Web 2.0, the world of AJAX and modern browsers! It's true, JavaScript had a very bad reputation - not because JavaScript itself is bad, but because of a very poor implementation in some browsers. As of today JavaScripts influence is growing and browser developers put a lot of work in making their JavaScript engines better, secure and really fast. There are a lot of webpages using JavaScript in a good manner. Further, Hyphenator.js follows the rules of unobtrusive JavaScript.
(Source)
Following the rules of unobtrusive JavaScript Hyphenator.js has AFAIK no influence on accessibility of your webpage. It just adds a feature that will not be missed by a screen reader.
Some screen readers have issues with words that contain soft hyphens (they read syllables instead of words). Please note that this is not an issue of Hyphenator but a bug in the screen reader. Please contact the makers of the screen reader application.
(Source)