Template of HTML form created to enable dual authentication login methods.
Created to unobtrusively allow different authentication methods to electronic resources for different kinds of library patrons.
- progressively enhanced (so works without Javascript)
- semantic markup
- valid XHTML 1 markup
- accessible - works with keyboard only, uses field labels properly
The idea as implemented is that the different auth forms target different scripts. Not sure which form a JS-disabled User Agent would submit on Enter key, so this may be an unsafe setup. May be preferable to submit a single form (with JS-toggled hidden fieldsets) to a single intermediary target and determine the processing requirements based on fields populated.
Set cookies to make preferred auth method setting sticky.
Hugh Barnes, Lincoln University Library, Teaching and Learning