From ea346a785dc1b3f7c156f6fc33da634e1f1a627b Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Tue, 12 Aug 2014 21:56:44 +0200 Subject: Adding jquery, flot and openlayers to be included with the GEM. --- misc/openlayers/examples/accessible-panel.html | 130 +++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 misc/openlayers/examples/accessible-panel.html (limited to 'misc/openlayers/examples/accessible-panel.html') diff --git a/misc/openlayers/examples/accessible-panel.html b/misc/openlayers/examples/accessible-panel.html new file mode 100644 index 0000000..d46d4fb --- /dev/null +++ b/misc/openlayers/examples/accessible-panel.html @@ -0,0 +1,130 @@ + + + + + + + Custom and accessible panel + + + + + + + +

Custom and accessible panel

+
+ panels, CSS, style, accessibility, button +
+

+ Create a custom and accessible panel, styled entirely with + CSS. +

+
+
+ +
+ +

An accessible panel: + +

+

+ +

By default a panel creates buttons as divs. In this example the + createControlMarkup panel function is overridden to create + a more accessible markup for the buttons. See the accessible-panel.js + source to see how this is done.

+ +

Note: in IE 8, when a button is pressed its content shifts by 1 pixel. + This is a known + IE8 bug, with known workarounds. No workaround is applied in this + example though.

+ +
+ + + -- cgit v1.2.3