1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/template
thenickcox dd9f8bc847 Improve img alt attribute for screen readers
Currently, the img_alt method in ActionView keeps underscores
in the alt attribute. Because underscores are pronounced in
Apple's VoiceOver Utility, this has serious implications for
accessibility. This patch makes underscored or hyphenated file
names (both common in projects) read more naturally in screen
readers by replacing them with spaces. See method documentation
for details.

Added documentation to image_alt method
2013-02-09 20:29:52 -08:00
..
erb Don't require action_dispatch in ActionView::UrlHelpers 2012-08-28 11:19:29 +02:00
html-scanner Ruby 2 compat. CGI.escapeHTML has changed the way it escapes apostrophes a few times, so fix up the test to work with however it chooses to escape. 2012-10-06 21:06:10 -07:00
testing stop subclassing string 2012-06-21 12:13:13 -07:00
active_model_helper_test.rb Fixed bug creating invalid HTML in select options 2012-07-10 15:03:37 -04:00
asset_tag_helper_test.rb Improve img alt attribute for screen readers 2013-02-09 20:29:52 -08:00
atom_feed_helper_test.rb deprecate assert_blank and assert_present. 2013-01-05 18:04:52 +01:00
capture_helper_test.rb Replace the flush parameter with a Hash. 2012-07-24 16:19:14 -03:00
compiled_templates_test.rb
date_helper_i18n_test.rb Remove i18n symbol dependency 2013-01-17 15:21:26 +00:00
date_helper_test.rb Fix date_select :selected option so you can pass it nil 2013-01-16 21:52:09 +00:00
digestor_test.rb view_cache_dependency API 2013-01-08 11:20:47 -07:00
erb_util_test.rb &#39 dates back to SGML when &#x27 was introduced in HTML 4.0 2012-09-09 19:48:32 +06:00
form_collections_helper_test.rb Fix collection_radio_buttons with the option :checked with value of 2012-12-26 23:00:31 -03:00
form_helper_test.rb Stylistic pass at form_helper_test 2013-01-21 23:01:09 -02:00
form_options_helper_i18n_test.rb
form_options_helper_test.rb No sort Hash options in #grouped_options_for_select 2012-11-27 20:04:37 +04:00
form_tag_helper_test.rb set 'alt' attribute for image_submit_tag 2013-01-08 15:56:47 +04:00
javascript_helper_test.rb Use Encoding::UTF_8 constant 🚯 2013-01-28 17:06:02 +09:00
log_subscriber_test.rb Remove stubs from LogSubscriber tests 2012-08-28 10:51:04 +02:00
lookup_context_test.rb Add ActionView::Base.default_formats 2012-08-28 10:51:04 +02:00
number_helper_test.rb Refactor AV number helper tests with invalid numbers 2012-06-24 19:30:05 -03:00
output_buffer_test.rb
output_safety_helper_test.rb
record_identifier_test.rb Fix ActionView::RecordIdentifier to work as a singleton 2012-08-28 11:19:37 +02:00
record_tag_helper_test.rb Fix content_tag_for with array html option. 2013-01-31 01:28:57 +08:00
render_test.rb Do not generate local vars for partials without object or collection 2013-01-08 09:15:20 -02:00
resolver_patterns_test.rb
sanitize_helper_test.rb Minor cleanup, helper method was only used once 2012-10-15 11:30:54 +02:00
streaming_render_test.rb
tag_helper_test.rb Add test to ensure data attributes are properly escaped with tag helpers 2012-11-01 08:49:47 -02:00
template_error_test.rb
template_test.rb Override <%== to always behave as literal text rather than toggling based on whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged. 2012-12-03 10:31:18 -07:00
test_case_test.rb partials inside directory work with assert_template 2013-02-04 14:46:50 +01:00
test_test.rb Remove unneeded tests 2012-12-31 13:57:24 -03:00
text_helper_test.rb Use Encoding::UTF_8 constant 🚯 2013-01-28 17:06:02 +09:00
translation_helper_test.rb
url_helper_test.rb Make current_url? work with a HEAD method 2013-01-28 21:18:57 +01:00