@8wave/ai-elements 0.121.0-beta.44 → 0.121.0-beta.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -980,9 +980,15 @@ Other sensitive fields must be marked by your site, or listed in **Excluded area
980
980
  At **Page control**, a card in the chat asks the user before:
981
981
 
982
982
  - a click on a submit button, or Enter in a field that submits its form. The card lists the
983
- filled fields of the form with their values (8 at most), leaving out the ones the agent never
984
- reads. When a value changes while the card waits, the submit does not run and the agent reads
985
- the form again;
983
+ filled fields of the form with their values, leaving out the ones the agent never reads: first
984
+ every field whose value changed since the agent first read the form, whether the agent wrote it
985
+ or your page did (after a dialog of yours, say), a long one from where it changed, then the
986
+ others up to 8. A text field in one language's version carries the language after its label
987
+ ("Initial message (Italian)"), from the same `lang` attribute or language tab the agent reads.
988
+ A field your site builds itself counts when it has `role="textbox"` (or `combobox`) and a name:
989
+ the agent reads the text it shows as its value, and its `aria-placeholder` is not read as one. A
990
+ field your page mounts again after the change counts as new: it is listed, not first. When a
991
+ value changes while the card waits, the submit does not run and the agent reads the form again;
986
992
  - a click on a link to another site;
987
993
  - the answer to your site's own confirmation dialog: a button in an `alertdialog`, or in a modal
988
994
  dialog with no field. The card shows the dialog's text ("The page asks: “Delete this agent?”