A fix has been rolled out in Mosaic 22.2.4.0.
We've become aware of an issue with selecting guidance icons in forms. This is not a new issue, we believe it has always been the case in Mosaic. This affects a few form elements in different ways and could result in data entered being removed inadvertently. It does not affect rich text fields.
Plain text areas
Using the mouse
When selecting a guidance icon with the mouse, the text in the text area is highlighted. As a result, if the user was to press any other key at this point, it would overwrite the text in the text area.
Using the keyboard
If a user utilises the tab key to navigate to a guidance icon and presses enter, the text in the text area is highlighted and the guidance does not expand. If the user was then to press another key, for example, pressing enter again to attempt to view the guidance, the text in the text area would be overwritten.
Text, number, or date fields
Using the mouse
When selecting a guidance icon with the mouse, anything input in the field is highlighted. As a result, if the user was to press certain keys at this point, space or start typing, it would overwrite the input. Pressing enter will have no effect as this field is single line.
Using the keyboard
If a user utilises the tab key to navigate to a guidance icon and presses enter, anything input into the field is highlighted and the guidance does not expand. If the user was then to press another key, for example the press space bar to attempt to view the guidance, the data input would be overwritten. Pressing enter will have no effect as this field is single line.
Check boxes
Using the keyboard
If a user utilises the tab key to navigate to a guidance icon and presses enter, the keyboard focus is moved back to the check box, but there is no indication to the user that this is the case. If the user then pressed the space bar to attempt to view the guidance, the check box state (checked or unchecked) would be changed. No other keys will have any effect.
Current Workaround
If text, number, or date is overwritten, users can use Ctrl+Z to undo those changes. There is currently no way to open guidance using keyboard navigation, this is on the backlog for future development.
We also recommend that you review the use of text areas where guidance is required and consider, where possible, changing these to rich text fields, as these are not impacted by this issue. Alternatively, guidance can be added to a section, sub-section or field set as opposed to the field itself.
