Skip to content

Commit

Permalink
feat(mwpw-164117): updates arialLabel for CTAs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmiqueo committed Jan 17, 2025
1 parent becffb4 commit 9739d90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
6 changes: 1 addition & 5 deletions dist/app.css

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/*!
<<<<<<< HEAD
* Chimera UI Libraries - Build 0.24.1 (1/14/2025, 16:46:26)
=======
* Chimera UI Libraries - Build 0.24.1 (1/14/2025, 19:06:40)
>>>>>>> main
* Chimera UI Libraries - Build 0.25.1 (1/17/2025, 11:27:43)
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -48026,7 +48022,7 @@ var Button = function Button(_ref) {
var target = (0, _general.getLinkTarget)(href, ctaAction);
var addParams = new URLSearchParams(additionalParams);
var buttonLink = additionalParams && addParams.keys().next().value ? href + '?' + addParams.toString() : href;
var ariaLabel = text + ': ' + title;
var ariaLabel = text + ' ' + title;

return _react2.default.createElement(
'a',
Expand Down Expand Up @@ -48122,7 +48118,7 @@ var Link = function Link(_ref) {
*/
var getConfig = (0, _hooks.useConfig)();
var ctaAction = getConfig('collection', 'ctaAction');
var ariaLabel = text + ': ' + title;
var ariaLabel = text + ' ' + title;

var target = (0, _general.getLinkTarget)(href, ctaAction);
return _react2.default.createElement(
Expand Down
8 changes: 2 additions & 6 deletions dist/main.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9739d90

Please sign in to comment.