Salesforce Certified Platform User Experience Designer free question 9 / 10 · Domain 6: Salesforce Lightning Design System (SLDS)
Two components in the same Lightning app confirm a delete in different ways: one asks in a modal and the other deletes at once. A designer wants to fix this in line with the Lightning Design System principle of consistency. What should the designer do?
- Choose one confirmation pattern and apply it to the delete action on both of the components
- Replace the modal with a faster pattern on both components to give people more efficiency
- Keep both patterns and add a short label on each component that explains how it behaves
- Let each team choose the pattern that suits its own component and document the choice later
Show the answer and explanation
Answer: A
Why this is correct
Consistency is one of the four Lightning Design System principles, defined on the Design Guidelines page as creating familiarity and strengthening intuition by applying the same solution to the same problem. A delete confirmation is the same problem on both components, so it should get one solution. People then learn the behavior once and can predict it on the next component.
Why the other options are wrong
"Keep both patterns and add a short label on each component that explains how it behaves" … A label that explains two behaviors leaves two solutions in place for one problem. The principle asks for the same solution to the same problem, which is what builds familiarity and intuition.
"Replace the modal with a faster pattern on both components to give people more efficiency" … Faster handling is the concern of a different principle on the same page. Whichever pattern is chosen, both components still need to share one solution to meet this principle.
"Let each team choose the pattern that suits its own component and document the choice later" … Separate choices by each team lead to the mismatch described in the scenario. Consistency means one solution applied to the same problem so that people can rely on what they already know.
One problem, one solution
The page defines consistency in one sentence: create familiarity and strengthen intuition by applying the same solution to the same problem.