Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

Make Image (V3) Core Component Alternative Text Optional

Avatar

Community Advisor

Alternative Text is required field in Image (v3) Core Component. I extend image component in my project and update q:dialog with required={Boolean}false. Still I got error message although asterisk is not showing in this case.

Screenshot 2023-07-25 at 2.15.53 AM.png

Any Suggestion, how I can make the "Alternative Text" optional?

Mahedi Sabuj

MS-29LinkedIn

1 Accepted Solution

Avatar

Correct answer by
Employee

@Mahedi_Sabuj 

You need to override granite:class property as well to make alt field as non mandatory.

NishantSingh_0-1690263793651.png

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

@Mahedi_Sabuj 

You need to override granite:class property as well to make alt field as non mandatory.

NishantSingh_0-1690263793651.png

 

 

Avatar

Community Advisor

Thanks @Nishant-Singh. It is working as expected.

Mahedi Sabuj

MS-29LinkedIn