Engineering Tools for AI

Programming

UI Interaction Terms for Page Behavior

A searchable reference for describing how buttons, menus, dropdowns, forms, search, keyboard actions, and feedback states should behave.

47 matching terms

Pointer and touch

Click

Click

Trigger or stateonClick

Meaning

A pointer action where the user presses and releases a mouse button on an element.

Expected behavior

Use click for actions such as opening menus, submitting buttons, selecting items, or navigating with links.

Request example

When the menu button is clicked, open the menu panel.

Pointer and touch

Tap

Tap

Trigger or statetouch / pointer

Meaning

A touch-screen action where the user touches and releases an element.

Expected behavior

Tap should generally do the same important work as click on phones and tablets.

Note

Hover-only behavior is unreliable on touch devices.

Request example

Make the category menu open by tap instead of hover on mobile.

Pointer and touch

Hover

Hover

Trigger or state:hover

Meaning

The state when a mouse pointer is over an element.

Expected behavior

Hover can preview affordance with color, underline, background, or shadow changes.

Note

Do not make essential actions depend only on hover.

Request example

Change the menu item background when it is hovered.

Pointer and touch

Long press

Long press

Trigger or statetouch hold

Meaning

A touch action where the user holds a finger on an element for a longer moment.

Expected behavior

Long press is often used for secondary actions, but it is less discoverable than a visible button.

Note

Avoid long press as the only way to access important functionality.

Request example

Do not hide essential copy actions behind long press only.

Pointer and touch

Drag

Drag

Trigger or statepointerdown + pointermove

Meaning

A pointer action where the user holds and moves an element or selection.

Expected behavior

Drag interactions need clear handles, boundaries, and fallback controls when precision matters.

Request example

Add a visible handle if a panel can be dragged.

Pointer and touch

Swipe

Swipe

Trigger or statetouch move

Meaning

A touch gesture where the user moves a finger quickly across the screen.

Expected behavior

Swipe can move carousels or panels, but visible controls should still exist.

Request example

Allow swipe between examples, but keep arrow buttons visible.

Keyboard

Keyboard event

Keyboard event

Trigger or statekeydown / keyup

Meaning

An interaction caused by pressing or releasing a keyboard key.

Expected behavior

Keyboard events are used for Escape-to-close, Enter-to-submit, arrow navigation, and shortcuts.

Request example

Close the dropdown when the Escape key is pressed.

Keyboard

Escape key

Escape key

Trigger or stateEscape

Meaning

A keyboard key commonly used to cancel, close, or exit a temporary UI.

Expected behavior

Dropdowns, menus, modals, and popovers should usually close on Escape.

Request example

Make both the language dropdown and site menu close on Escape.

Keyboard

Enter key

Enter key

Trigger or stateEnter

Meaning

A keyboard key often used to activate a focused control or submit a form.

Expected behavior

A focused button should activate with Enter. Search forms may submit with Enter.

Request example

Let Enter run the search when the search field is focused.

Keyboard

Tab key

Tab key

Trigger or stateTab

Meaning

A keyboard key used to move focus through interactive controls.

Expected behavior

The Tab order should follow the visible reading and interaction order.

Request example

Keep the tab order natural across the header controls.

UI states

Focus

Focus

Trigger or state:focus / :focus-visible

Meaning

The state where an element is ready for keyboard input or activation.

Expected behavior

Focused controls should have a visible outline or focus style.

Request example

Make the focused search input clearly visible.

UI states

Blur

Blur

Trigger or stateblur / focusout

Meaning

The state change when an element loses focus.

Expected behavior

Blur can validate input or close lightweight UI, but it should not surprise users.

Request example

Do not clear the search text when the input loses focus.

UI states

Active state

Active state

Trigger or state:active

Meaning

A short state while a control is being pressed.

Expected behavior

Active state can show a pressed effect with a slight background, border, or position change.

Request example

Add a subtle pressed state to icon buttons.

UI states

Selected state

Selected state

Trigger or stateselected / aria-current

Meaning

The state of an item that is currently chosen in a list, menu, tab group, or filter group.

Expected behavior

Selected items should be visually different from unselected items.

Request example

Make the active category chip clearly different from inactive chips.

UI states

Disabled state

Disabled state

Trigger or statedisabled / aria-disabled

Meaning

A state where a control is visible but cannot be used.

Expected behavior

Disabled controls should look inactive but remain understandable.

Request example

Disable the submit button until required input is valid.

UI states

Checked state

Checked state

Trigger or statechecked

Meaning

The on or selected state of a checkbox, radio, or switch-like control.

Expected behavior

Checked state should be visibly clear and announced by the control semantics.

Request example

Show a clear checked state for selected options.

Open and close

Toggle

Toggle

Trigger or statetoggle state

Meaning

An action that switches between two states, such as open and closed or on and off.

Expected behavior

A toggle should show its current state and update that state predictably.

Request example

Use one button to toggle each menu category open and closed.

Open and close

Open / close

Open / close

Trigger or stateopen / closed

Meaning

A visibility state where a panel, menu, or section is shown or hidden.

Expected behavior

Open and close states should be controlled consistently by buttons, outside click, Escape, or selection.

Request example

Close the site menu when the language dropdown opens.

Open and close

Dropdown

Dropdown

Trigger or statebutton -> panel

Meaning

A floating list that appears from a button or field.

Expected behavior

Dropdowns usually close after selection, outside click, or Escape.

Request example

When a language is selected, close the dropdown.

Open and close

Accordion

Accordion

Trigger or statesection toggle

Meaning

A UI pattern where section headers open or close their content.

Expected behavior

Accordions should clearly indicate which sections are open.

Request example

Keep all accordion categories closed by default.

Open and close

Modal

Modal

Trigger or stateopen dialog

Meaning

A focused overlay that appears above the page and usually blocks the background content.

Expected behavior

Modals need close controls, Escape behavior, focus handling, and clear purpose.

Request example

Add a close button and Escape-to-close behavior to the modal.

Open and close

Outside click

Outside click

Trigger or statedocument pointerdown

Meaning

A click or tap outside a temporary panel such as a dropdown, menu, or popover.

Expected behavior

Temporary panels commonly close when the user clicks outside them.

Note

Controls that belong to the same header group may not count as outside unless the logic is written that way.

Request example

Close the menu when the user clicks outside the menu panel.

Open and close

Focus trap

Focus trap

Trigger or statemodal open

Meaning

A behavior that keeps keyboard focus inside a modal or dialog while it is open.

Expected behavior

Focus trap prevents keyboard users from accidentally moving behind an active modal.

Request example

Trap focus inside the modal until it is closed.

Navigation

Link navigation

Link navigation

Trigger or statelink click

Meaning

Moving to another page, route, or section through a link.

Expected behavior

Links should use correct destinations and close temporary menus after navigation.

Request example

Close the menu after a menu link is clicked.

Navigation

Route change

Route change

Trigger or staterouter navigation

Meaning

A change from one application route or URL path to another.

Expected behavior

Route changes should update page content, metadata, and active navigation state.

Request example

Update the active navigation state after route changes.

Navigation

Scroll

Scroll

Trigger or statewheel / touch scroll

Meaning

Moving the visible viewport through content that is larger than the screen.

Expected behavior

Scrolling can happen on the page or inside a panel with its own overflow.

Request example

Make long dropdown menus scroll inside the panel instead of extending off screen.

Navigation

Anchor scroll

Anchor scroll

Trigger or statehref=#id

Meaning

A link behavior that scrolls to an element with a matching id on the same page.

Expected behavior

Anchor links are useful for jumping to tools, references, or sections.

Request example

Make the Browse tools button scroll to the tools section.

Input and forms

Type

Type

Trigger or stateinput event

Meaning

Entering text or values into an input or textarea.

Expected behavior

Typing can update state immediately, validate input, or wait until submission.

Request example

Update search results as the user types.

Input and forms

Submit

Submit

Trigger or statesubmit event

Meaning

Sending or applying form input.

Expected behavior

Submit should validate required input, prevent accidental reloads when needed, and show feedback.

Request example

Prevent the form from reloading the page when it submits.

Input and forms

Reset

Reset

Trigger or statereset action

Meaning

Returning controls or values to their default state.

Expected behavior

Reset should be predictable and avoid erasing important work without warning.

Request example

Add a reset button that clears search and returns to all categories.

Input and forms

Validation

Validation

Trigger or stateinput / submit

Meaning

Checking whether user input is complete and valid.

Expected behavior

Validation should explain what is wrong and how to fix it.

Request example

Show a validation message when the input value is invalid.

Search and filtering

Search

Search

Trigger or statequery change

Meaning

Finding matching items based on text entered by the user.

Expected behavior

Search should check useful fields such as names, aliases, descriptions, and examples.

Request example

Make the search match Korean words, English terms, aliases, and request examples.

Search and filtering

Filter

Filter

Trigger or statefilter state

Meaning

Narrowing a list to items that match a selected condition.

Expected behavior

Filters should show which condition is active and how many items remain when useful.

Request example

Add category filters above the UI interaction term cards.

Search and filtering

Sort

Sort

Trigger or statesort option

Meaning

Changing the order of items by a rule such as name, date, priority, or category.

Expected behavior

Sorting should not remove items; it only changes their order.

Request example

Sort matching terms alphabetically after filtering.

Search and filtering

Debounce

Debounce

Trigger or statedelayed input

Meaning

Waiting briefly after the user stops typing before running an expensive action.

Expected behavior

Debounce prevents search, validation, or API calls from running on every single keystroke.

Request example

Debounce the search input if it becomes slow with many items.

Search and filtering

Clear

Clear

Trigger or stateclear action

Meaning

Removing a typed value, selected filter, or temporary state.

Expected behavior

Clear actions should affect only the intended field or state.

Request example

Add a clear button inside the search field.

Feedback

Loading

Loading

Trigger or statepending state

Meaning

A temporary state while data, page content, or an action is still being prepared.

Expected behavior

Loading feedback tells users that the app is working and prevents repeated actions when needed.

Request example

Show a loading state while the conversion result is being prepared.

Feedback

Spinner

Spinner

Trigger or stateloading visual

Meaning

A visual indicator that something is loading or processing.

Expected behavior

Spinners work best for short waits; longer waits may need clearer progress or text.

Request example

Show a small spinner inside the button while submitting.

Feedback

Toast

Toast

Trigger or statetemporary message

Meaning

A short temporary message that appears after an action.

Expected behavior

Toasts are useful for confirmations such as copied, saved, or updated.

Request example

Show a toast after copying text to the clipboard.

Feedback

Error state

Error state

Trigger or stateerror

Meaning

A state that tells the user something went wrong.

Expected behavior

Error messages should be specific, readable, and explain the next useful action.

Request example

Show a clear error message when the input cannot be converted.

Feedback

Success state

Success state

Trigger or statesuccess

Meaning

A state that confirms an action completed successfully.

Expected behavior

Success states can be subtle when the result is already visible.

Request example

Show a small success message after settings are saved.

Feedback

Empty state

Empty state

Trigger or stateempty result

Meaning

A state shown when there is no data or no matching result.

Expected behavior

Empty states should explain why nothing is shown and suggest a next step.

Request example

Show a no-results message when search returns no matching terms.

Feedback

Copy to clipboard

Copy to clipboard

Trigger or statenavigator.clipboard

Meaning

An action that puts text into the user's clipboard.

Expected behavior

Copy actions should give feedback so users know the text was copied.

Request example

Copy the CSS property when the property chip is clicked.

Motion and timing

Transition

Transition

Trigger or stateCSS transition

Meaning

A smooth change between two visual states, such as color, opacity, or position.

Expected behavior

Transitions can make UI feel polished, but should stay quick for tools.

Request example

Add a short transition to menu item hover colors.

Motion and timing

Animation

Animation

Trigger or stateCSS animation

Meaning

A visual motion sequence that can run once or repeatedly.

Expected behavior

Animation should support the task, not distract from reading or repeated work.

Request example

Use a subtle slide-down animation when the dropdown opens.

Motion and timing

Delay

Delay

Trigger or statesetTimeout / delay

Meaning

A wait before something happens or disappears.

Expected behavior

Delays can make feedback readable, but long delays can make the UI feel slow.

Request example

Keep the copied toast visible for about one second.

Motion and timing

Throttle

Throttle

Trigger or statelimited repeated events

Meaning

Limiting how often a repeated event handler can run.

Expected behavior

Throttle is useful for scroll or resize handlers that fire many times.

Request example

Throttle the scroll handler if the page becomes janky.