File: tabIndex.xml

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (25 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="option">
	<name>tabIndex</name>
	<summary>Tab index control for keyboard navigation</summary>
	<since>1.10</since>

	<type type="integer" />
	<default value="0" />

	<description>
		By default DataTables allows keyboard navigation of the table (sorting, paging, and filtering) by adding a `tabindex` attribute to the required elements. This allows the end user to tab through the controls and press the enter key to activate them, allowing the table controls to be accessible without a mouse.

		The default tabindex is 0, meaning that the tab follows the flow of the document. You can overrule this using this parameter if you wish. Use a value of -1 to disable built-in keyboard navigation, although this is not recommended for accessibility reasons.
	</description>

	<example title=""><![CDATA[
$('#example').dataTable( {
  "tabIndex": 1
} );
]]></example>

	<related type="option">ordering</related>
	<related type="option">paging</related>
	<related type="option">searching</related>
</dt-option>