Skip to content

Focus on error summary when changing wizard page #7546

@avernet

Description

@avernet

On a wizard page change:

  1. If the oxf.xforms.xbl.fr.wizard.error-summary-focus property is set to true (its default is false) and the error summary shows one or more alerts, focus is set to the first alert.
  2. Otherwise, if oxf.fr.detail.initial-focus.*.* is set to true, focus is set to the first field.
  3. Otherwise, no focus is set.

We want to ensure that the code that scrolls back up to the wizard section title runs first. That way, if both the title and the element receiving focus can be visible at the same time, they will be. Otherwise, the focused element takes precedence.

+1 from customer

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions