Engineering Tools for AI

Programmation

Termes d'interaction UI pour le comportement de page

Référence consultable pour décrire boutons, menus, formulaires, recherche, clavier et états de retour.

47 résultats

Pointeur et tactile

Click

Click

Déclencheur/étatonClick

Sens

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

Comportement attendu

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

Exemple de demande

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

Pointeur et tactile

Tap

Tap

Déclencheur/étattouch / pointer

Sens

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

Comportement attendu

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

Note

Hover-only behavior is unreliable on touch devices.

Exemple de demande

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

Pointeur et tactile

Hover

Hover

Déclencheur/état:hover

Sens

The state when a mouse pointer is over an element.

Comportement attendu

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

Note

Do not make essential actions depend only on hover.

Exemple de demande

Change the menu item background when it is hovered.

Pointeur et tactile

Long press

Long press

Déclencheur/étattouch hold

Sens

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

Comportement attendu

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.

Exemple de demande

Do not hide essential copy actions behind long press only.

Pointeur et tactile

Drag

Drag

Déclencheur/étatpointerdown + pointermove

Sens

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

Comportement attendu

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

Exemple de demande

Add a visible handle if a panel can be dragged.

Pointeur et tactile

Swipe

Swipe

Déclencheur/étattouch move

Sens

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

Comportement attendu

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

Exemple de demande

Allow swipe between examples, but keep arrow buttons visible.

Clavier

Keyboard event

Keyboard event

Déclencheur/étatkeydown / keyup

Sens

An interaction caused by pressing or releasing a keyboard key.

Comportement attendu

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

Exemple de demande

Close the dropdown when the Escape key is pressed.

Clavier

Escape key

Escape key

Déclencheur/étatEscape

Sens

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

Comportement attendu

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

Exemple de demande

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

Clavier

Enter key

Enter key

Déclencheur/étatEnter

Sens

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

Comportement attendu

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

Exemple de demande

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

Clavier

Tab key

Tab key

Déclencheur/étatTab

Sens

A keyboard key used to move focus through interactive controls.

Comportement attendu

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

Exemple de demande

Keep the tab order natural across the header controls.

États UI

Focus

Focus

Déclencheur/état:focus / :focus-visible

Sens

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

Comportement attendu

Focused controls should have a visible outline or focus style.

Exemple de demande

Make the focused search input clearly visible.

États UI

Blur

Blur

Déclencheur/étatblur / focusout

Sens

The state change when an element loses focus.

Comportement attendu

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

Exemple de demande

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

États UI

Active state

Active state

Déclencheur/état:active

Sens

A short state while a control is being pressed.

Comportement attendu

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

Exemple de demande

Add a subtle pressed state to icon buttons.

États UI

Selected state

Selected state

Déclencheur/étatselected / aria-current

Sens

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

Comportement attendu

Selected items should be visually different from unselected items.

Exemple de demande

Make the active category chip clearly different from inactive chips.

États UI

Disabled state

Disabled state

Déclencheur/étatdisabled / aria-disabled

Sens

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

Comportement attendu

Disabled controls should look inactive but remain understandable.

Exemple de demande

Disable the submit button until required input is valid.

États UI

Checked state

Checked state

Déclencheur/étatchecked

Sens

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

Comportement attendu

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

Exemple de demande

Show a clear checked state for selected options.

Ouverture et fermeture

Toggle

Toggle

Déclencheur/étattoggle state

Sens

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

Comportement attendu

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

Exemple de demande

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

Ouverture et fermeture

Open / close

Open / close

Déclencheur/étatopen / closed

Sens

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

Comportement attendu

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

Exemple de demande

Close the site menu when the language dropdown opens.

Ouverture et fermeture

Dropdown

Dropdown

Déclencheur/étatbutton -> panel

Sens

A floating list that appears from a button or field.

Comportement attendu

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

Exemple de demande

When a language is selected, close the dropdown.

Ouverture et fermeture

Accordion

Accordion

Déclencheur/étatsection toggle

Sens

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

Comportement attendu

Accordions should clearly indicate which sections are open.

Exemple de demande

Keep all accordion categories closed by default.

Ouverture et fermeture

Modal

Modal

Déclencheur/étatopen dialog

Sens

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

Comportement attendu

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

Exemple de demande

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

Ouverture et fermeture

Outside click

Outside click

Déclencheur/étatdocument pointerdown

Sens

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

Comportement attendu

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.

Exemple de demande

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

Ouverture et fermeture

Focus trap

Focus trap

Déclencheur/étatmodal open

Sens

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

Comportement attendu

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

Exemple de demande

Trap focus inside the modal until it is closed.

Navigation

Link navigation

Link navigation

Déclencheur/étatlink click

Sens

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

Comportement attendu

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

Exemple de demande

Close the menu after a menu link is clicked.

Navigation

Route change

Route change

Déclencheur/étatrouter navigation

Sens

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

Comportement attendu

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

Exemple de demande

Update the active navigation state after route changes.

Navigation

Scroll

Scroll

Déclencheur/étatwheel / touch scroll

Sens

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

Comportement attendu

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

Exemple de demande

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

Navigation

Anchor scroll

Anchor scroll

Déclencheur/étathref=#id

Sens

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

Comportement attendu

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

Exemple de demande

Make the Browse tools button scroll to the tools section.

Saisie et formulaires

Type

Type

Déclencheur/étatinput event

Sens

Entering text or values into an input or textarea.

Comportement attendu

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

Exemple de demande

Update search results as the user types.

Saisie et formulaires

Submit

Submit

Déclencheur/étatsubmit event

Sens

Sending or applying form input.

Comportement attendu

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

Exemple de demande

Prevent the form from reloading the page when it submits.

Saisie et formulaires

Reset

Reset

Déclencheur/étatreset action

Sens

Returning controls or values to their default state.

Comportement attendu

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

Exemple de demande

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

Saisie et formulaires

Validation

Validation

Déclencheur/étatinput / submit

Sens

Checking whether user input is complete and valid.

Comportement attendu

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

Exemple de demande

Show a validation message when the input value is invalid.

Recherche et filtrage

Search

Search

Déclencheur/étatquery change

Sens

Finding matching items based on text entered by the user.

Comportement attendu

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

Exemple de demande

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

Recherche et filtrage

Filter

Filter

Déclencheur/étatfilter state

Sens

Narrowing a list to items that match a selected condition.

Comportement attendu

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

Exemple de demande

Add category filters above the UI interaction term cards.

Recherche et filtrage

Sort

Sort

Déclencheur/étatsort option

Sens

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

Comportement attendu

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

Exemple de demande

Sort matching terms alphabetically after filtering.

Recherche et filtrage

Debounce

Debounce

Déclencheur/étatdelayed input

Sens

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

Comportement attendu

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

Exemple de demande

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

Recherche et filtrage

Clear

Clear

Déclencheur/étatclear action

Sens

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

Comportement attendu

Clear actions should affect only the intended field or state.

Exemple de demande

Add a clear button inside the search field.

Retour utilisateur

Loading

Loading

Déclencheur/étatpending state

Sens

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

Comportement attendu

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

Exemple de demande

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

Retour utilisateur

Spinner

Spinner

Déclencheur/étatloading visual

Sens

A visual indicator that something is loading or processing.

Comportement attendu

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

Exemple de demande

Show a small spinner inside the button while submitting.

Retour utilisateur

Toast

Toast

Déclencheur/étattemporary message

Sens

A short temporary message that appears after an action.

Comportement attendu

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

Exemple de demande

Show a toast after copying text to the clipboard.

Retour utilisateur

Error state

Error state

Déclencheur/étaterror

Sens

A state that tells the user something went wrong.

Comportement attendu

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

Exemple de demande

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

Retour utilisateur

Success state

Success state

Déclencheur/étatsuccess

Sens

A state that confirms an action completed successfully.

Comportement attendu

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

Exemple de demande

Show a small success message after settings are saved.

Retour utilisateur

Empty state

Empty state

Déclencheur/étatempty result

Sens

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

Comportement attendu

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

Exemple de demande

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

Retour utilisateur

Copy to clipboard

Copy to clipboard

Déclencheur/étatnavigator.clipboard

Sens

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

Comportement attendu

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

Exemple de demande

Copy the CSS property when the property chip is clicked.

Mouvement et timing

Transition

Transition

Déclencheur/étatCSS transition

Sens

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

Comportement attendu

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

Exemple de demande

Add a short transition to menu item hover colors.

Mouvement et timing

Animation

Animation

Déclencheur/étatCSS animation

Sens

A visual motion sequence that can run once or repeatedly.

Comportement attendu

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

Exemple de demande

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

Mouvement et timing

Delay

Delay

Déclencheur/étatsetTimeout / delay

Sens

A wait before something happens or disappears.

Comportement attendu

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

Exemple de demande

Keep the copied toast visible for about one second.

Mouvement et timing

Throttle

Throttle

Déclencheur/étatlimited repeated events

Sens

Limiting how often a repeated event handler can run.

Comportement attendu

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

Exemple de demande

Throttle the scroll handler if the page becomes janky.