]> source.dussan.org Git - vaadin-framework.git/commitdiff
Make Action icons again include alt text (#13375)
authorJohannes Dahlström <johannesd@vaadin.com>
Fri, 21 Mar 2014 11:41:38 +0000 (13:41 +0200)
committerVaadin Code Review <review@vaadin.com>
Mon, 24 Mar 2014 09:09:37 +0000 (09:09 +0000)
Change-Id: I7b65d8f20936e5e6360dfc4d333e7c6ea3f2bc13

client/src/com/vaadin/client/ui/Action.java

index 60d3e9aabf3e2b65206937a7bdd84992afcd67c6..84399f76113a9dda1c1040efe288bfbc1e74ab8e 100644 (file)
@@ -46,6 +46,7 @@ public abstract class Action implements Command {
         // right now because Actions are recreated every time they are needed
         Icon icon = owner.getClient().getIcon(getIconUrl());
         if (icon != null) {
+            icon.setAlternateText("icon");
             sb.append(icon.getElement().getString());
         }
         sb.append(getCaption());