Engineering Tools for AI

プログラミング

ページ動作のためのUI動作用語

ボタン、メニュー、検索、フォーム、キーボード操作などの動作を説明するための用語集です。

47

ポインターとタッチ

Click

Click

トリガー/状態onClick

意味

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

期待動作

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

依頼例

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

ポインターとタッチ

Tap

Tap

トリガー/状態touch / pointer

意味

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

期待動作

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

注意

Hover-only behavior is unreliable on touch devices.

依頼例

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

ポインターとタッチ

Hover

Hover

トリガー/状態:hover

意味

The state when a mouse pointer is over an element.

期待動作

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

注意

Do not make essential actions depend only on hover.

依頼例

Change the menu item background when it is hovered.

ポインターとタッチ

Long press

Long press

トリガー/状態touch hold

意味

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

期待動作

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

注意

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

依頼例

Do not hide essential copy actions behind long press only.

ポインターとタッチ

Drag

Drag

トリガー/状態pointerdown + pointermove

意味

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

期待動作

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

依頼例

Add a visible handle if a panel can be dragged.

ポインターとタッチ

Swipe

Swipe

トリガー/状態touch move

意味

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

期待動作

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

依頼例

Allow swipe between examples, but keep arrow buttons visible.

キーボード

Keyboard event

Keyboard event

トリガー/状態keydown / keyup

意味

An interaction caused by pressing or releasing a keyboard key.

期待動作

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

依頼例

Close the dropdown when the Escape key is pressed.

キーボード

Escape key

Escape key

トリガー/状態Escape

意味

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

期待動作

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

依頼例

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

キーボード

Enter key

Enter key

トリガー/状態Enter

意味

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

期待動作

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

依頼例

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

キーボード

Tab key

Tab key

トリガー/状態Tab

意味

A keyboard key used to move focus through interactive controls.

期待動作

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

依頼例

Keep the tab order natural across the header controls.

UI状態

Focus

Focus

トリガー/状態:focus / :focus-visible

意味

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

期待動作

Focused controls should have a visible outline or focus style.

依頼例

Make the focused search input clearly visible.

UI状態

Blur

Blur

トリガー/状態blur / focusout

意味

The state change when an element loses focus.

期待動作

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

依頼例

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

UI状態

Active state

Active state

トリガー/状態:active

意味

A short state while a control is being pressed.

期待動作

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

依頼例

Add a subtle pressed state to icon buttons.

UI状態

Selected state

Selected state

トリガー/状態selected / aria-current

意味

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

期待動作

Selected items should be visually different from unselected items.

依頼例

Make the active category chip clearly different from inactive chips.

UI状態

Disabled state

Disabled state

トリガー/状態disabled / aria-disabled

意味

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

期待動作

Disabled controls should look inactive but remain understandable.

依頼例

Disable the submit button until required input is valid.

UI状態

Checked state

Checked state

トリガー/状態checked

意味

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

期待動作

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

依頼例

Show a clear checked state for selected options.

開閉

Toggle

Toggle

トリガー/状態toggle state

意味

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

期待動作

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

依頼例

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

開閉

Open / close

Open / close

トリガー/状態open / closed

意味

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

期待動作

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

依頼例

Close the site menu when the language dropdown opens.

開閉

Dropdown

Dropdown

トリガー/状態button -> panel

意味

A floating list that appears from a button or field.

期待動作

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

依頼例

When a language is selected, close the dropdown.

開閉

Accordion

Accordion

トリガー/状態section toggle

意味

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

期待動作

Accordions should clearly indicate which sections are open.

依頼例

Keep all accordion categories closed by default.

開閉

Modal

Modal

トリガー/状態open dialog

意味

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

期待動作

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

依頼例

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

開閉

Outside click

Outside click

トリガー/状態document pointerdown

意味

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

期待動作

Temporary panels commonly close when the user clicks outside them.

注意

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

依頼例

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

開閉

Focus trap

Focus trap

トリガー/状態modal open

意味

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

期待動作

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

依頼例

Trap focus inside the modal until it is closed.

ナビゲーション

Link navigation

Link navigation

トリガー/状態link click

意味

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

期待動作

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

依頼例

Close the menu after a menu link is clicked.

ナビゲーション

Route change

Route change

トリガー/状態router navigation

意味

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

期待動作

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

依頼例

Update the active navigation state after route changes.

ナビゲーション

Scroll

Scroll

トリガー/状態wheel / touch scroll

意味

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

期待動作

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

依頼例

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

ナビゲーション

Anchor scroll

Anchor scroll

トリガー/状態href=#id

意味

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

期待動作

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

依頼例

Make the Browse tools button scroll to the tools section.

入力とフォーム

Type

Type

トリガー/状態input event

意味

Entering text or values into an input or textarea.

期待動作

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

依頼例

Update search results as the user types.

入力とフォーム

Submit

Submit

トリガー/状態submit event

意味

Sending or applying form input.

期待動作

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

依頼例

Prevent the form from reloading the page when it submits.

入力とフォーム

Reset

Reset

トリガー/状態reset action

意味

Returning controls or values to their default state.

期待動作

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

依頼例

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

入力とフォーム

Validation

Validation

トリガー/状態input / submit

意味

Checking whether user input is complete and valid.

期待動作

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

依頼例

Show a validation message when the input value is invalid.

検索とフィルター

Search

Search

トリガー/状態query change

意味

Finding matching items based on text entered by the user.

期待動作

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

依頼例

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

検索とフィルター

Filter

Filter

トリガー/状態filter state

意味

Narrowing a list to items that match a selected condition.

期待動作

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

依頼例

Add category filters above the UI interaction term cards.

検索とフィルター

Sort

Sort

トリガー/状態sort option

意味

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

期待動作

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

依頼例

Sort matching terms alphabetically after filtering.

検索とフィルター

Debounce

Debounce

トリガー/状態delayed input

意味

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

期待動作

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

依頼例

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

検索とフィルター

Clear

Clear

トリガー/状態clear action

意味

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

期待動作

Clear actions should affect only the intended field or state.

依頼例

Add a clear button inside the search field.

フィードバック

Loading

Loading

トリガー/状態pending state

意味

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

期待動作

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

依頼例

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

フィードバック

Spinner

Spinner

トリガー/状態loading visual

意味

A visual indicator that something is loading or processing.

期待動作

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

依頼例

Show a small spinner inside the button while submitting.

フィードバック

Toast

Toast

トリガー/状態temporary message

意味

A short temporary message that appears after an action.

期待動作

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

依頼例

Show a toast after copying text to the clipboard.

フィードバック

Error state

Error state

トリガー/状態error

意味

A state that tells the user something went wrong.

期待動作

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

依頼例

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

フィードバック

Success state

Success state

トリガー/状態success

意味

A state that confirms an action completed successfully.

期待動作

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

依頼例

Show a small success message after settings are saved.

フィードバック

Empty state

Empty state

トリガー/状態empty result

意味

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

期待動作

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

依頼例

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

フィードバック

Copy to clipboard

Copy to clipboard

トリガー/状態navigator.clipboard

意味

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

期待動作

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

依頼例

Copy the CSS property when the property chip is clicked.

動きとタイミング

Transition

Transition

トリガー/状態CSS transition

意味

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

期待動作

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

依頼例

Add a short transition to menu item hover colors.

動きとタイミング

Animation

Animation

トリガー/状態CSS animation

意味

A visual motion sequence that can run once or repeatedly.

期待動作

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

依頼例

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

動きとタイミング

Delay

Delay

トリガー/状態setTimeout / delay

意味

A wait before something happens or disappears.

期待動作

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

依頼例

Keep the copied toast visible for about one second.

動きとタイミング

Throttle

Throttle

トリガー/状態limited repeated events

意味

Limiting how often a repeated event handler can run.

期待動作

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

依頼例

Throttle the scroll handler if the page becomes janky.