@PoovithaSelvaraj
AEM doesn't have a default configuration that explicitly limits the length of selectors.
Some older web browsers have limitations on the maximum length of URLs they can handle. While modern browsers have significantly increased this limit, it's still possible to encounter issues ...