News for hackers. Stuff that matters.
Re:The Tools of a Blind Programmer by tetraodonpuffer on Monday April 04, 2016 @12:43AM (#11419478)
how would a blind programmer deal with something like python? it seems that having indentation be part of the syntax would make it difficult to figure out, unless the screen scraping software was made to understand same indentation = same block
Re:The Tools of a Blind Programmer by parham90 on Monday April 04, 2016 @04:31AM (#11420248)
This was a problem years ago. however, nowadays almost all screen readers have a setting to report the indentation of the current line. This was popularized when NVDA (a Windows screen reader) and Orca (a screen reader for Linux) were written, since they are both in Python.
Re:The Tools of a Blind Programmer by tetraodonpuffer on Monday April 04, 2016 @11:17AM (#11422514)
thanks for chiming in, I was really wondering about it

btw, if you read this, do you have any recommendations for ways we can make sure our sites are accessible? Say for my blog I have alt= tags for everything and tried to organize things meaningfully in terms of H tags, I would like to also add aria tags but I am not sure how I can check that they were done correctly, as even if I installed a screen reader it I don't have any experience with it so I am not sure if what I hear is correct or not.

Do you have any suggestions?

Re:The Tools of a Blind Programmer by mwcampbell on Monday April 04, 2016 @12:09PM (#11422999)
(Not the OP, but I have experience in this area too.)

You're on the right track. As a finishing touch, you should add role="main" to whichever element contains the main page content (in this case, the article or the most recent articles). That way, screen reader users can easily skip past all the navigation links and other auxiliary elements that are common to every page.

Re:The Tools of a Blind Programmer by tetraodonpuffer on Monday April 04, 2016 @03:26PM (#11424646)
thanks for the tip!
Re:The Tools of a Blind Programmer by parham90 on Tuesday April 05, 2016 @12:18AM (#11427766)
Sorry for being late to this thread.

You can also use some accessibility evaluation tools. I would suggest that you go here, and check the box that says "WCAG 2.0" to get some tools that check accessibility in general:

http://www.w3.org/WAI/ER/tools/

If you fix stuff that these evaluation software show you, I think your blog will be among the very well thought-out websites in terms of accessibility. WAI-ARIA is for times that your application does a lot with Javascript, such as updating a region of text, or when you start using non-semantic elements for stuff they are not meant for (for example using the i tag for an icon, or the span tag as a link, etc).

Re:The Tools of a Blind Programmer by tetraodonpuffer on Wednesday April 06, 2016 @05:16PM (#11442175)
thanks for the extra information
Re:The Tools of a Blind Programmer by tyrylu on Monday April 04, 2016 @01:00AM (#11419541)
From my personal experience, it's useful if the editor has at least some basic support for this kind of blocks, e. g. enter key opens a line with same indent level etc. And editor scripting also helps, then you can write a script toreport the indent level on demand. Of course, many screen readers can report the number of spaces/tabs (e. g. the raw value), but you usually want only the level with respect to the current codebase and most likely only sometimes e. g. not on every line movement, you can infer the blocks sometimes from context and recheck only if needed/things go wrong.