Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(card): remove onclick handler for pictogram (#12123)
### Related Ticket(s) [ADCMS-6850](https://jsw.ibm.com/browse/ADCMS-6850) ### Description Removes an `onclick` handler on cards which is redundant and hinders customization by adopters. The `onlick` handler here is already covered by the `<a>` that has an `::after` pseudo element covering the card and capturing the click event for sighted and non-sighted users. The `onclick` handler was added back in #6642. ### Changelog **Changed** - Removed `onclick` handler from pictogram cards <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information