In WordPress (what the client does)

For developersVersion 1.0.0Last updated:

In the editor

When you click a component or any element inside it (an accordion question, a slide, a tab title…), the panel’s Content tab shows the “Component: <nombre>” group with its options: switches, sliders with a number, dropdowns or text fields, depending on each option’s type. With no element selected, the section panel shows the groups of all its components.

  • Changes show up instantly on the canvas: opening several accordion items, the initial tab, removing the carousel arrows, the counter suffix…
  • “Reset the design values” goes back to the values the package ships with.
  • If the component is inside a list (a repeater), the options apply to all its items (like styles).
  • Components work on the canvas: accordion items open and close, tabs switch, the carousel advances. Clicking text that is being edited inside an accordion button doesn’t close it.
  • The canvas before/after can’t be dragged (so a click selects its images to replace them); you can see its position with the “Starting position” option.
  • A package’s custom components only work in the editor if the package loads its JS there ("editor": { "scripts": true } in bos.json); their options can always be edited.

Permissions by role

Behavior options are design: the “Component” group only appears with the Full permission. With “Content only” and “Content and sections” it doesn’t appear (the server also discards any bosComp change from those roles, as with styles and animations). The client can still edit the texts, images and list items inside components.

Accessibility (what BuilderOS adds)

ComponentKeyboard and screen readers
AccordionEach button is a <button> with aria-expanded and aria-controls; each panel is role="region" with aria-labelledby (no region if there are more than 6). Enter/Space open and close; up/down arrows, Home and End move focus between the buttons. A #ancla link to something inside a closed panel opens it.
Tabsrole="tablist", tab (with aria-selected, aria-controls and a roving tabindex) and tabpanel (with aria-labelledby). Arrows, Home and End; with “Move and switch with Enter”, the arrows only move focus.
Carouselrole="region" with aria-roledescription="carrusel" and a name (the component’s first heading or “Carousel”); each slide role="group", aria-roledescription="diapositiva" and “1 of 5”. Each slide carries “1 of 5” as its name; if it’s a <div>, it also gets role="group" and aria-roledescription="diapositiva", and if it’s an <li> it keeps its list-item role (ARIA doesn’t allow role="group" on an <li>). 44 px Previous/Next buttons, dots with aria-current (24 px), and with autoplay an always-visible pause button (WCAG 2.2.2). Autoplay stops on mouse hover, with focus inside, off-screen and when the tab is hidden; it announces changes (aria-live="polite") only when it isn’t playing on its own. Swiping is native.
CounterThe final number is in the HTML (SEO and no JS). It animates when it enters the screen; while it animates, the screen reader reads the final number. Reserved width and tabular figures: it doesn’t move the surrounding text.
Before/afterAn <input type="range"> (accessible with arrows, Home and End) named “Comparar antes y después” with the value “35 %”. Visible focus indicator on the handle.

Reduce motion: with “reduce motion” enabled in the system, the carousel doesn’t autoplay (the pause button doesn’t appear) and scrolls without animation, and the counter shows the final number without counting.

The texts for screen readers come out in the page’s language (Spanish, English, Portuguese, French, German and Italian; you can change them with the builder_os_components_texts filter).