cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
31 stars 12 forks source link

Sections: Should custom rules add new ones at the top? #3813

Open srtalbot opened 2 weeks ago

srtalbot commented 2 weeks ago

Adding multiple rules

Right now when I add another rule it appends it to the bottom of the stack. Once I get past 3 rules I have to scroll to add the rule information. It might be more helpful to add the rules at the top of the stack so people using screen readers don't have to tab all the way down past the rules they just set to make a new rule. The "for any other value" is really helpful to reduce the number of rules required.

E.g.: There are 6 rules on this form. When we add a 7th, it will appear at the bottom of the list, requiring someone to scroll or tab past all the previous rules.

image.png