accesskey _ mod _ content

Programmed objects

To the operation with electronic certificates within an electronic Headquarters must be used dynamic performance technology higher power, that the language (X) HTML standard. This technology is in the use of scripts and implementation of a logic of client based on java applets, ActiveX objects or other elements that can be implemented on the pc of the user at the time of the operation with the certificate.

To comply with the WCAG 1.0, this use of scheduled objects carried out in your browser was contradictory directly with the accessibility requirement that required pages must be able to be used while scripts programming and objects were disconnected or were not supported. It was considered a technological barrier that it was not possible to overcome, given that there is no way to read the keys to a user regardless of this type of technologies . Therefore, this limitation was technology as an exception and not be seen as an obstacle to the electronic site that was finally accessible.

In contrast, under the new requirements of the WCAG 2.0, this is a problem and need not be treated as an exception. New legislation permitting the use of technologies and programming, without the need to continue to provide the same functionality when it does not support such technology, provided that the same is employed in a manner consistent with the accessibility.

It is understood that a technology (for example, scripts, java applets, etc.) is compatible with accessibility if it is possible to create content accessible and browsers and support outputs (e.g. screen readers) commonly used are compatible with such technology or, if necessary a plugin, It is available for download or shop at the same ease and price for persons with disabilities and for a person without a disability.


YES. JavaScript technology can be used as long as it is done in a non-intrusive and accessible. That is, JavaScript can be used provided that the content generated and/or modified, as well as the features added, are consistent with the support outputs as screen readers. Thus, for example, the content generated must be accessible, there is always the order of reading the contents and all elements of interaction must be accessible with keyboard in the tab order.

Provided that if JavaScript to create functionality and user interfaces must be employed complex patterns indicated in the specification of WAI-ARIA (Opens in new window) of the W3C to add a layer of accessibility needed to ensure consistency with assistive technology.

For more information please contact the specification of WAI-ARIA as well as the introductory paper WAI-ARIA First.

Generally speaking, there can be said that a GIS application may be accessible when the underlying core function of this application can be operable with your keyboard and the information provided can take place in text format.

However, in some cases there may not be an alternative technological economically reasonable and proportionate to their accessibility. It is therefore one of the possible exemptions provided for by the Royal Decree 1494/2007 approving the regulations on the basic conditions for persons with disabilities with access to technologies, products and services related to the information society and media (Opens in new window) in article 5 paragraph 1.

For example, a form of interest nearby sites may use a map as part of the interface to locate visually outcomes and give detailed information on the same mediante marcadores and windows. The underlying functionality (report on the sites of interest nearby) can be carried out in an accessible way with a form and a list of results, with the detail, sorted by proximity and shown in the overall display of the map. Something similar functionality "" How to get Google Maps api where to enter the origin and destination in text boxes and the result is provided both on a map as in text form.

Conversely, other complex GIS applications may be regarded as exceptions if your main functionality underlying necessarily requires interaction through a apuntamiento device (e.g. mouse) and/or the nature of the information displayed prevents textualización so technically feasible. Such applications are generally associated with geographical areas, Areas or areas with high information density such as cartographic maps, city street, drawings, 3D visualization, etc.

For example, and concretely, searching for information and cadastral references can be accessed through a form (although they are accompanied by visualizations on a map) while direct consultation of the cadastral mapping technical limitations for its implementation in an accessible way.

In any case, and regardless of the impossibility of offering alternatives to the textual information, whenever technically possible to comply with the rest of accessibility requirements to allow access to the greatest possible number of persons irrespective of type or level of disability. So, while a GIS application without textual alternatives, may continue to perform other requirements as independent interface device, re-dimension of the text, labelling of controls, tab order, information is not dependent on sufficient color, contrast, etc., so that it impedes the access to people with other types of disabilities, such as blindness, low vision, etc.

The first thing is to create the page in (x) HTML including all the text in it, without scripts. The text you want to display of an element with a id in particular.

Furthermore, you can create a link, using techniques and DOM JavaScript, which is the show and hide the text. To that link is assigned a event onclick associated with the function JavaScript to deploy the text.

Example of HTML code
  • Introduction
    • About us
    • Contact us
  • Download of documentation
    • Forms
    • Print

Via JavaScript DOM and should be accessible to the elements “ introduction ” and “ Download ”, documentation and establishing links with a onclick event.

In the style sheets create two styles, one for the hidden text and another for the text is displayed when deployed.

Example of CSS code
ul.oculto {
position: absolute;
left: -9999px;
overflow: hidden;

ul.desplegado {
font-style: italic;


It was also used a JavaScript function or holds that the text, cambiándole class HTML element that tells you as a parameter.

Example of JavaScript code
/* Function to expand or collapse text */
function fold (text) {
var element = document.getElementById (text);
if (elemento.className = = "deployed") {
elemento.className = "" hidden;
} else {
elemento.className = "" deployed;


And finally another JavaScript to hide the text when it is loaded the page for the first time, so that the user to have JavaScript to be shown bending, menu and which we will have support for this technology to be shown. This script will be placed at the end of the website.

Example of JavaScript code
/* Script that plegará all texts indicate */
fold (’ desplegable1 ’);
fold (’ desplegable2 ’);