Web Accessibility - Included Content

Documentation home 

General accessibility considerations. 1

Accessing Ebase presentation attributes. 1

 

See also:         

Web Accessibility Home

Ebase External Interface

Web Accessibility Options and Attributes

 

This page documents all the accessibility issues relating to HTML content that is included with an Ebase form - normally this content is included by specifying top, left, right, bottom JSPs, and the content is either in JSP or HTML format. There are two sections: general accessibility considerations which documents general considerations that are not specific to Ebase, and accessing Ebase presentation attributes which discusses how to access and react to the presentation options that are currently in effect.

 

General accessibility considerations

 

The following is a selection of the main checkpoints from the W3C WCAG 1.0 guidelines that are applicable to all included HTML content. The numbers in parentheses refer to the WCAG 1.0 guideline number. Items required to achieve the W3C AA accessibility are marked as mandatory.

 

 

See the W3C WCAG 1.0 guidelines for a more complete list.

 

Accessing Ebase presentation attributes

 

Ebase maintains information about the presentation attributes that are currently being used to generate HTML. These attributes are made available to a JSP via the Ebase external form interface. (See Ebase External Interface for instructions on using this interface from a JSP and detailed javadoc).

 

This interface has the following methods that can be used to determine accessibility information:

 

 

It is mandatory to provide the end user with the option of viewing each page without colour, and the isDisplayInColour() method can be used to check this. Note that this method can only be used if Ebase is aware of choices made by the end user - either the optional 'Display in Colour' button is displayed (See Web Accessibility Options and Attributes) or, if this information is determined by some other method, system variable $PRESENTATION_USE_COLOUR has been set to reflect the end user selection.

 

It is mandatory that a page should function regardless of whether or not the client browser provides support for JavaScript. The isJavascriptEnabled() method indicates whether Ebase is currently using JavaScript.

 

Style sheets should normally be used to mark up any content. The isUseStylesheets() method should be used to determine if the client browser provides support for style sheets. If not, non style sheets equivalent mark up should be used e.g. <font> tags.