MySource Matrix Developer

Main Content

Accesskey Selector

Summary

This document proposes a way to add the ability to assign an accesskey attribute to a link in the WYSIWYG Insert Link dialog.

Status: Draft
Key: draft -> approved proposal -> scheduled -> in development -> in testing -> complete -> released

Estimated Start Date: Thu, 27 Apr 2006
Estimated End Date: Thu, 27 Apr 2006

This feature is not scheduled for release

Problem Definition

Currently there is no option to add accesskey attribute to links in WYSIWYG insert link dialog. Keyboard shortcuts should be added to important links for triple-A accessibility compliance.

Technical Specification

WYSIWYG Insert Link Dialog

A new option should be added to the WYSIWYG insert link dialog. The new Access key option should be a selection list with available access keys. Access key option should be added under the Title option.

Available Access keys

Finding out which access keys are in use is not an easy task. Insert Link plugin will need to read and parse each div and table container and remove the access keys that are already in use by the current page. However, this does not ensure the availability of the access keys. Because, a container or a page may be nested inside other pages which may use its own access keys.

It is possible for insert link dialog to look at in each page and its container to find out which access keys are in use. However, this will slow down the load time of insert link plugin. Its is better to make this feature optional.

Optional: A new WYSIWYG preference could be added to the System Configuration that allows users to enable deep search which will enable insert link dialog to search all the pages that the current content div/table is linked under. If this option is not enabled then only the current page will be searched.