|
|
| Line 48: |
Line 48: |
|
| |
|
| Note: for discussions about navigation, unless specified assume caret navigation mode is off. | | Note: for discussions about navigation, unless specified assume caret navigation mode is off. |
|
| |
| ==Keyboard interaction with special content==
| |
| In general special content behaviour on keyboard input is the same as usual. However there are subtleties that will be discussed in next sections.
| |
|
| |
| No additional rules for non editable areas. The behaviour is defined by caret navigation mode.
| |
|
| |
| Focusable compound elements have behaviour matched caret navigation mode.
| |
|
| |
| Control elements has normal behaviour if focused and control action can be performed on pressed key. Otherwise editor rules are applied.
| |
|
| |
| For example, if textbox (HTML:input) is focused then arrow keys move through its text. If caret reaches the end of the text then editor takes the focus and caret position is set immediately after the textbox element. If listbox (HTML:select) is focused then up/down arrow keys change selected item, if the last listbox option is selected and arrow down key is pressed then editor takes the focus and caret is moved to the text or control element placed below the listbox control. The exception might be made for combobox element when its popup is open which should be closed by user before he can continue the navigation and editor can take the focus.
| |
|
| |
|
| ==Mouse interaction with special content== | | ==Mouse interaction with special content== |