A UX Designer is adding an icon without a visible, descriptive label to an interface using a Salesforce Lightning Design System (SLDS) Component Blueprint. Which attribute should be used to ensure the icon complies with accessibility requirements?
Correct Answer: C
The correct answer is C. `title`, as specified in the uploaded study guide.
The accessibility problem is that the icon has no visible descriptive label. The study guide therefore identifies the `title` attribute as the mechanism that supplies a descriptive text value for the icon within the SLDS Component Blueprint context.
Option A, `href`, identifies a referenced resource or destination and does not provide the descriptive label required by the scenario.
Option B, `class`, is used to associate styling or behavior with the element. It does not communicate the icon's meaning to users who cannot rely solely on its visual appearance.
The accessibility requirement is important because an icon's graphic form may not be perceivable or self- explanatory to every user. When a visible text label is absent, an appropriate textual description must still communicate the purpose represented by the icon.
The guide's answer therefore reinforces a broader SLDS accessibility principle: visual indicators should not depend exclusively on their appearance. Designers must account for users who interact through assistive technologies or who cannot interpret an unlabeled icon visually.
Study Guide reference/topics: SLDS Component Blueprints, accessibility, icon labels, `title` attribute, Salesforce Lightning Design System.