Should the pattern include this case:
In a form, we have fields A, B, C, and D.
Fields A and B are initially required.
Fields C and D are initially optional.
The question in field B is of the Boolean type (do you want to or not?).
If "true", then field C must also be filled out.
C is therefore no longer optional, and the labeling of the field must be updated.
We can change the tag that indicates whether the field is required or not, but there may be more to this pattern that should be addressed — for example, informing the screen reader about the change,
is that necessary when the change occurs after the field that triggers it?