rails/guides
Cameron Cundiff 9a74c7b99b Do not generate default alt text in image tags
- Auto-generating content from the filename of an image is not suitable
  alternative text; alt text that isn't fully considered can be
  distracting and fatiguing for screen readers users (blind, low vision,
  dyslexic people).
- Setting a filename fallback short circuits screen reader default
  behavior and configuration for blank descriptions.
- Setting poor defaults also creates false negatives for accessibility
  linting and testing software, that makes it harder to improve
  application accessibility.

***

- After this change, if authors leave images without alt text, screen
  readers will fallback to default behavior for missing alt text.
- Also with this change, Automated linting and testing tools will
  correctly generate warnings.

[Fixes #30096]
2017-08-17 16:13:15 -04:00
..
assets Shrink image files in the guides using ImageOptim 2017-06-21 01:39:36 +09:00
bug_report_templates Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
rails_guides Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
source Do not generate default alt text in image tags 2017-08-17 16:13:15 -04:00
.document adds guides/.document to tell rdoc not to process this directory 2013-03-04 22:28:23 +01:00
CHANGELOG.md Start Rails 5.2 development 2017-03-22 10:11:39 +10:30
Rakefile Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
rails_guides.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00