#109: Make accesskeys configurable
- Contents
- Proposed by
- Geir Bækholt
- Seconded by
- Matt Lee
- Proposal type
- User interface
- State
- being-discussed
Motivation
Accesskeys are hardcoded in Plone. Even if they now follow W3 WAIS guidelines, some organisations have deviating standards they need to follow ( for example the UK Government acessibility standards ). This currently requires site implementors to hack and override templates.
Proposal
Make the base set of accesskeys configurable by site administrators. A new control panel with a form to set the new accesskeys.
Implementation
Make a control panel for setting accesskeys. Somewhere to store the data.
Change the templates that set the accesskeys
Change the accessibility page to look up the dynamic values.
Deliverables
Find somewhere in Plone to store the values for the accesskeys. The structure makes sense to store in something like a dictionary. A second best solution would be a list of string properties.
Create a control panel to set the accesskeys
Create form handlers to save the accesskeys
Have the accessibility page look up thhe dynamic values instead of listing the hardcoded ones.
Change the templates that define the templates to do dynamic lookup.
Risks
This could possibly conflict with i18n of accesskeys if that is in use.