summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/design.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/design.md b/docs/design.md
index b0b8839f..38909998 100644
--- a/docs/design.md
+++ b/docs/design.md
@@ -282,8 +282,8 @@ There are the following different focus states:
282With touch input only the selected state is relevant. 282With touch input only the selected state is relevant.
283 283
284The following indicators are available to visualize selection: 284The following indicators are available to visualize selection:
285* Highlight: A blue overlay over the item. 285* Highlight: A overlay over the item in the highlight color.
286* Glow: A blue glow around the borders. 286* Border: A border around the item in highlight color.
287* Underlined text 287* Underlined text
288 288
289It is important that a selected element can still show focus, otherwise the focus during keyboard navigation simply disappears if it moves to the selected element. 289It is important that a selected element can still show focus, otherwise the focus during keyboard navigation simply disappears if it moves to the selected element.
@@ -295,9 +295,9 @@ The following controls need to deal with focus:
295* Copyable elements 295* Copyable elements
296 296
297We're indicating focus as follows: 297We're indicating focus as follows:
298* Active focus is indicated with a glow. This is used for both hovering and keyboard focus. 298* Active focus is indicated with a border. This is used for both hovering and keyboard focus.
299* A selected element is highlighted. 299* A selected element is highlighted.
300* Keyboard focus is additionally to the glow indicated with underlined text. 300* Keyboard focus is additionally to the border indicated with underlined text.
301 301
302### FocusScope 302### FocusScope
303In order to be able to deal with focus on a local scope (which is important for reusable components), a FocusScope is required to establish a border for focus handling. Internally you can set the focus as required within the focus scope, and externally you can just give focus to the FocusScope, ignoring what's going to happen internally. The FocusScope will automatically forward focus (when it receives it), to whatever element requested focus internally. 303In order to be able to deal with focus on a local scope (which is important for reusable components), a FocusScope is required to establish a border for focus handling. Internally you can set the focus as required within the focus scope, and externally you can just give focus to the FocusScope, ignoring what's going to happen internally. The FocusScope will automatically forward focus (when it receives it), to whatever element requested focus internally.