From 1f9b090b464fb5eb9444c1d31df06fb0a234fe54 Mon Sep 17 00:00:00 2001 From: David Talbot Date: Wed, 15 Aug 2018 19:47:13 -0400 Subject: [PATCH] Accessible Name for URL Input (#527) Adds an aria-label attribute to the to link dialog's form input --- src/trix/config/lang.coffee | 1 + src/trix/config/toolbar.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trix/config/lang.coffee b/src/trix/config/lang.coffee index f2a66eef2..8d24c413b 100644 --- a/src/trix/config/lang.coffee +++ b/src/trix/config/lang.coffee @@ -17,6 +17,7 @@ Trix.config.lang = strike: "Strikethrough" undo: "Undo" unlink: "Unlink" + url: "URL" urlPlaceholder: "Enter a URL…" GB: "GB" KB: "KB" diff --git a/src/trix/config/toolbar.coffee b/src/trix/config/toolbar.coffee index f130c9af1..a3ec99350 100755 --- a/src/trix/config/toolbar.coffee +++ b/src/trix/config/toolbar.coffee @@ -29,7 +29,7 @@ Trix.config.toolbar =