TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Domain\Model\Attribute\TabindexAttribute Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\Attribute\TabindexAttribute:
TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute tx_form_Domain_Model_Attributes_Tabindex

Public Member Functions

 getValue ()
 
- Public Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
 setValue ($value)
 
 getValue ()
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
 $value
 
 $elementId
 
 $localCobj
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Attribute 'tabindex'

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file TabindexAttribute.php.

Member Function Documentation

◆ getValue()

TYPO3\CMS\Form\Domain\Model\Attribute\TabindexAttribute::getValue ( )

Gets the attribute 'tabindex'. Used with the elements button, input, select and textarea Not subject to case changes

This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros.

The tabbing order defines the order in which elements will receive focus when navigated by the user via the keyboard. The tabbing order may include elements nested within other elements.

Elements that may receive focus should be navigated by user agents according to the following rules:

  1. Those elements that support the tabindex attribute and assign a positive value to it are navigated first. Navigation proceeds from the element with the lowest tabindex value to the element with the highest value. Values need not be sequential nor must they begin with any particular value. Elements that have identical tabindex values should be navigated in the order they appear in the character stream.
  2. Those elements that do not support the tabindex attribute or support it and assign it a value of "0" are navigated next. These elements are navigated in the order they appear in the character stream.
  3. Elements that are disabled do not participate in the tabbing order.

The actual key sequence that causes tabbing navigation or element activation depends on the configuration of the user agent (e.g., the "tab" key is used for navigation and the "enter" key is used to activate a selected element)

User agents may also define key sequences to navigate the tabbing order in reverse. When the end (or beginning) of the tabbing order is reached, user agents may circle back to the beginning (or end).

Returns
integer Attribute value

Definition at line 61 of file TabindexAttribute.php.