From 4c5c1e0cfeff1c7118ab3fffe4d45e0f1966d470 Mon Sep 17 00:00:00 2001 From: michaelvogt Date: Mon, 25 Mar 2013 15:46:58 +0200 Subject: WAI-ARIA field corrections (#11407) Implementation of suggestions from usage test by an screen reader user Change-Id: If02512f3d4ee60e3e115023af9d9e600dc11321a --- shared/src/com/vaadin/shared/ui/datefield/PopupDateFieldState.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared/src/com/vaadin') diff --git a/shared/src/com/vaadin/shared/ui/datefield/PopupDateFieldState.java b/shared/src/com/vaadin/shared/ui/datefield/PopupDateFieldState.java index 74cab3efb0..1c061b3ac3 100644 --- a/shared/src/com/vaadin/shared/ui/datefield/PopupDateFieldState.java +++ b/shared/src/com/vaadin/shared/ui/datefield/PopupDateFieldState.java @@ -16,10 +16,12 @@ package com.vaadin.shared.ui.datefield; public class PopupDateFieldState extends TextualDateFieldState { + public static final String DESCRIPTION_FOR_ASSISTIVE_DEVICES = "Arrow down key opens calendar element for choosing the date"; + { primaryStyleName = "v-datefield"; } public boolean textFieldEnabled = true; - + public String descriptionForAssistiveDevices = DESCRIPTION_FOR_ASSISTIVE_DEVICES; } -- cgit v1.2.3