5

Between The suggestion that tabular data can be represented well enough using code sections, The suggestion to use ROT13 for "spoilers" and the Web Content Accessibility Guides for ASCII figures I think it would be beneficial to user with disabilities if "Skip This Code Block" hyperlinks were generated around code blocks.

5
  • Low priority. Really low. Commented Sep 1, 2010 at 17:45
  • 3
    I still disagree with the tables-as-ascii-art/code issue. Commented Oct 2, 2010 at 14:59
  • @David Thomas - Given that most Markdown engines don't offer tables, allowing <table> tags would just open the door to a whole new world of invalid markup, so I empathize with the official position on tables, though I disagree with it. I'm actually looking for a way to use the WMD editor with PHP Markdown Extra so tables would work, for a different site. See my SO question on the matter Commented Oct 2, 2010 at 19:34
  • 1
    yeah, I understand the *reasons it'd be a problem, but it's a feature that I think is still, if not required, at least a nice-to-have. Commented Oct 2, 2010 at 19:52
  • @David Thomas - Agreed. Commented Oct 2, 2010 at 20:21

1 Answer 1

1

You could try a_m0d's greasemonkey script, which folds code by default.

2
  • 2
    That's not the point - in the WAI specs, and generally speaking, it is a good practice to add links (usually invisible to normal users) that allow tools like screenreaders to skip certain page contents, like navigation, or in this case, code blocks.
    – Yi Jiang
    Commented Sep 2, 2010 at 9:07
  • @YiJiang: I see, that should indeed be applied then Commented Sep 2, 2010 at 9:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .