6 ms·
Screen readers don’t do very well with this, so please only use it for novelty purposes. Otherwise you will unnecessarily be locking people out from what you wr
by JimDabell 8y ago
Screen readers don’t do very well with this, so please only use it for novelty purposes. Otherwise you will unnecessarily be locking people out from what you write.
- cryptonector 8y agoThat really has to get fixed though.
- robin_reala 8y agoIt’s really not a screenreader’s job to guess what a character might be being pressed into service to represent in a given scenario, and to try to work out when that’s inappropriate and it should be using the original specified meaning.
- bonoboTP 8y agoWell, it kind of is. In my mind, a screen reader should read anything that a healthy human can. Ideally even text in images and any sort of weirdness.
- gumby 8y agoThen again different healthy humans read texts differently. There's no such thing as a canonical reading and any reading bring in prior semantics. There was a sign posted in the break room of a lab I used to work at. It read, "<long complex equation> is easy for you to read, but not for everyone. Volunteer to read for the blind." It was a good double whammy.
- SEMW 8y agoIt doesn't and shouldn't. The whole point of having Mathematical Alphanumeric Symbols as separate unicode code points, rather than just using normal latin characters with style markup, is so they can be used when the different letters have semantically different meanings -- in particular in maths when 𝘹 and 𝘅 can be in the same formula, representing different concepts. They're not a replacement for style markup. In other words, they're different characters specifically so that screen readers can know to read them out loud differently! Trying to 'fix' screenreaders by having them read anything that them as if they were normal latin characters, to accommodate people who like using the Mathematical Symbols block for fun in places which only allow plain text, would completely defeat the actual purpose of them. https://www.unicode.org/faq/ligature_digraph.html#Pf6 https://www.unicode.org/faq/ligature_digraph.html#Pf6
- slavik81 8y agoHow do screen readers handle other aspects of mathematical equations? For example, if I have an equation like "A equals B to the C", how do I represent this such that a screen reader will say it correctly? As far as I can tell, I can't. I see the FAQ you linked states that I'm supposed to use markup for this. Unfortunately, that means the screen reader needs to understand math markup to work correctly. If that's the case, it seems like we could just include other concerns like Bold X vs X in the math markup as well.
- SEMW 8y ago> How do screen readers handle other aspects of mathematical equations? For example, if I have an equation like "A equals B to the C", how do I represent this such that a screen reader will say it correctly? This was one of the problems that MathML was built to solve, see https://accessibility.princeton.edu/blogs/mathml-accessible-math-markup https://accessibility.princeton.edu/blogs/mathml-accessible-...
- cryptonector 8y agoAm I confused as to what unicode.style is doing? Oh, yes I am. It's using U+1D400 MATHEMATICAL BOLD CAPITAL A and such. I see. Ok, thanks for setting me straight!
- netsharc 8y agoWell, look forward to spammers using this to bypass the spam filters...
- floatrock 8y agoAlso using similar unicode characters in your username for nefarious spoofing attacks or worse -- https://labs.spotify.com/2013/06/18/creative-usernames/ https://labs.spotify.com/2013/06/18/creative-usernames/ This is called a Homoglyph attack. If you accept unicode for strings that should be "unique" (eg username), there are various normalization schemes that basically convert equivalent-ish looking characters into a consistent hash. I have no doubt spam filters use this.
- xyzzy_plugh 8y agoI'm still waiting for the .corn TLD...
- TeMPOraL 8y agoFollowed by spam filters keying in on use of such alternative/modifier characters and marking them as spam. Better check your spam folder if you get a lot of e-mails with mathematical formulas.
- vthriller 8y agoDon't they already do that? I can clearly remember subjects that mixed latin, cyrillic, greek and some more exotic scripts to do just that.
- wgjordan 8y ago> Screen readers don't do very well with this Badly-implemented screen readers don't do very well with this. The Unicode Standard provides a Normalization Form for Compatibility Decomposition (NFKD / NFKC) that screen readers definitely should adopt in their Unicode implementation [1]. [1] http://www.unicode.org/reports/tr15/ http://www.unicode.org/reports/tr15/
- nothrabannosir 8y agoTo be fair, combining some of the HN comments: $ python Python 3.7.0 (default, Jul 22 2018, 21:11:34) [Clang 9.1.0 (clang-902.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import unicodedata as ud >>> ud.normalize('NFKD', '''It's a kinda ascii-art thing that 𝔩𝔢𝔱𝔰 𝔶𝔬𝔲 𝔞𝔫𝔰𝔴𝔢𝔯 𝔥𝔫 𝔠𝔬𝔪𝔪𝔢𝔫𝔱𝔰 𝔞𝔩𝔩 𝔣𝔞𝔫𝔠𝔶 𝔩𝔦𝔨𝔢 𝔱𝔥𝔦𝔰. 𝕆𝕣 𝕝𝕚𝕜𝕖 𝕥𝕙𝕚𝕤 𝕚𝕗 𝕪𝕠𝕦 𝕨𝕒𝕟𝕥 𝕝𝕖𝕤𝕤 𝕘𝕠𝕥𝕙𝕚𝕔 𝕞𝕠𝕣𝕖 𝕠𝕦𝕥𝕝𝕚𝕟𝕖. ... ... 𝙸𝚜𝚗'𝚝 𝚞𝚗𝚒𝚌𝚘𝚍𝚎 𝚐𝚛𝚎𝚊𝚝?''') "It's a kinda ascii-art thing that lets you answer hn comments all fancy like this. Or like this if you want less gothic more outline.\n\nIsn't unicode great?" >>> You'd hope a screen reader would have more effort put into it than a 3 second read of a HN thread?
- baddox 8y agoI often wonder how many of the people who bring up the capabilities of screen readers are actually familiar with screen readers. (I'm admittedly not at all familiar with screen readers or their capabilities).
- Someone 8y agoAs a counterpoint, selecting that text and choosing “speak” from the pop up menu doesn’t speak that text on iOS. VoiceOver on iOS doesn’t speak it, either.
- alphakappa 8y agoSpeaking of styling things for novelty, there's also this https://beta.observablehq.com/@mbostock/text-styles https://beta.observablehq.com/@mbostock/text-styles