These attributes allow attachment of rendering and accessibility
information to most of the elements used in document rendering. The
TITLE attribute allows descriptive narrative information to be
attached to elements (which are not necessarily rendered) while
Style Sheet attributes facilitate attachment of rendering rules
to displayed elements.
This attribute category draws its inspiration from a
Parameter Entity category
defined in HTML 4.x called "%coreattrs". This category only includes
the CLASS, ID, STYLE, and TITLE attributes. The ACCESSKEY and TABINDEX
elements that I included in this %Core% category are also present in
HTML 4.x, but not used as widely as these other "%coreattrs".
Beginning in IE 4.0 however, the use of ACCESSKEY and TABINDEX was
expanded to cover most HTML elements, so it seemed natural to combine
them with the other "%coreattrs".
Description:
This is a method of giving access/focus to an active HTML element using
a keyboard character. This is a common GUI paradigm also known
as a "keyboard shortcut" or "keyboard accelerator"
A single character is used as the value of this attribute. In addition,
a platform-dependent key is usually used in combination with the
ACCESSKEY character to access the functionality of the element.
In Internet Explorer 5.0, "non-active" elements (all elements listed except
A, AREA, OBJECT and form field elements) can use an ACCESSKEY to
give focus to an element if it also specifies a TABINDEX attribute/value.
Values:
A single, case-insensitive alphanumeric character from a browser's character set.
Description:
This is a stand-alone attribute which indicates the element is
initially non-functional or can not receive focus. It is usually
indicated visually by greying out the content of the element.
Description:
"Tabbing" is a method of giving access/focus to an active HTML
element using a standard keyboard sequence. All the active elements in a
document can be cycled through using this sequence (ex: Windows TAB key.)
The order of the active elements in this cycle is usually the order they
occur in the document, but the TABINDEX attribute allows a different order
to be established. The use of this attribute should create the following
tabbing order cycle if the browser supports the attribute:
Active elements using the TABINDEX attribute with positive integers are
navigated first. Low values are navigated first.
Active elements not specifying any TABINDEX attribute
Other constraints also apply:
Those elements carrying a DISABLED attribute or using negative TABINDEX
values do not participate in the tabbing cycle.
IE 5.0 active elements which can receive tabbing focus: A, BODY, BUTTON,
EMBED, FRAME, IFRAME, IMG, INPUT, ISINDEX, OBJECT, SELECT, TEXTAREA
IE 5.0 TABINDEX documentation is too complicated to describe: APPLET,
DIV, FRAMESET, SPAN, TABLE, TD, TH, THEAD, TFOOT
If an element is "non-active" (see previous point above), then it can
not use an ACCESSKEY attribute unless a TABINDEX attribute is also set.
Values: Positive or negative integers. IE 5.0
documentation lists a valid value range of -32767 to 32767.
Description:
This attribute is used to give further information regarding the
contents of an element. Interactive elements such as hyperlinks,
images, or form fields may use this attribute to inform the user
about the nature of the resource, or to specify help information
if requested by the user.
The methods used to render the content of this attribute for this
should follow the standard guidelines for the system, but may vary
between browsers and platforms. For instance, visual browsers
will frequently display the title as a "tool tip" (a short message
that appears when the pointing device pauses over an object). Audio
user agents may speak the title information in a similar context.
Values: An alphanumeric string.
Browser Peculiarities
Netscape 6: when the document area has the focus, accesskey values
that conflict with application accesskeys (such as "f" typically for the File
menu) will give focus to the HTML element every time. Only when the
document area does not have focus will the accesskey be used for the
application's intended purpose.
Using an ACCESSKEY for buttons and links in Netscape 6 activates the
button/link. IE merely gives the element active focus in such cases.
IE4+: IE grays out hyperlinks (A elements) if the DISABLED attribute is
set, but they are still activate-able.
IE4+: For some reason, the CODE and NOBR elements are excluded from receiving
focus via the TABINDEX attribute - no, that doesn't really make any sense.
O5: The TITLE attribute is very hard to "access" (eg: create a visual
tooltip as expected) on most form widgets (INPUT/SELECT/TEXTAREA -
only at the exteme corners) and with list structures (DIR/DL/MENU/OL/UL
only in the non-LI/DT/DD areas.) This problem is fixed in Opera 6.
IE and Netscape/Mozilla use the ALT key in combination with any ACCESSKEY
specified to trigger it. In Opera, the accelerator key combination is SHIFT-ESCAPE
+ACCESSKEY.