aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorPaoMar <paomarcasadiego@gmail.com>2014-09-03 15:03:58 -0500
committerPaoMar <paomarcasadiego@gmail.com>2014-09-03 16:14:21 -0500
commitee61b76a810ad67ca064be2922a8b481fa840043 (patch)
treef653efa7c90db7f10f071502851942afb2b314c7 /actionview/CHANGELOG.md
parentb79ab4ca953949d953db772ba40bef2adc936fc3 (diff)
downloadrails-ee61b76a810ad67ca064be2922a8b481fa840043.tar.gz
rails-ee61b76a810ad67ca064be2922a8b481fa840043.tar.bz2
rails-ee61b76a810ad67ca064be2922a8b481fa840043.zip
Add support for ARIA attributes in tags
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index f5c520937c..5e0b134ba4 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,15 @@
+* Add support for ARIA attributes in tags.
+
+ Example:
+
+ <%= f.text_field :name, aria: { required: "true", hidden: "false" } %>
+
+ now generates:
+
+ <input aria-hidden="false" aria-required="true" id="user_name" name="user[name]" type="text">
+
+ *Paola Garcia Casadiego*
+
* Provide a `builder` object when using the `label` form helper in block form.
The new `builder` object responds to `translation`, allowing I18n fallback support