Skip to content

Commit

Permalink
feat(mwpw-140454): maybe fixed the lighthouse thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheridan Sunier authored and Sheridan Sunier committed May 23, 2024
1 parent 9804e18 commit d591b55
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/app.css

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Chimera UI Libraries - Build 0.11.29 (5/23/2024, 15:10:17)
* Chimera UI Libraries - Build 0.11.29 (5/23/2024, 15:41:58)
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -7970,6 +7970,7 @@ var Grid = function Grid(props) {
'data-card-style': collectionStyleOverride,
'data-testid': 'consonant-CardsGrid',
className: gridClass,
role: 'tablist',
'aria-live': isAriaLiveActive ? 'polite' : 'off' },
cardsToshow.map(function (card, index) {
var cardStyleOverride = (0, _general.getByPath)(card, 'styles.typeOverride');
Expand Down Expand Up @@ -46642,7 +46643,7 @@ var Card = function Card(props) {
}

var hasBanner = bannerDescriptionToUse && bannerFontColorToUse && bannerBackgroundColorToUse;
var headingAria = videoURL || label || detailText || description || logoSrc || badgeText || hasBanner && !disableBanners || isIcon ? '' : title;
var headingAria = videoURL || label || detailText || description || logoSrc || badgeText || hasBanner && !disableBanners || !isIcon ? '' : title;

var ariaText = title;
if (hasBanner && !disableBanners) {
Expand Down
6 changes: 3 additions & 3 deletions dist/main.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/main.source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/src/js/components/Consonant/Cards/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ const Card = (props) => {

const hasBanner = bannerDescriptionToUse && bannerFontColorToUse && bannerBackgroundColorToUse;
const headingAria = (videoURL ||
label || detailText || description || logoSrc || badgeText || (hasBanner && !disableBanners) || isIcon) ? '' : title;
label || detailText || description || logoSrc || badgeText || (hasBanner && !disableBanners) || !isIcon) ? '' : title;

let ariaText = title;
if (hasBanner && !disableBanners) {
Expand Down
1 change: 1 addition & 0 deletions react/src/js/components/Consonant/Grid/Grid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ const Grid = (props) => {
data-card-style={collectionStyleOverride}
data-testid="consonant-CardsGrid"
className={gridClass}
role="tablist"
aria-live={isAriaLiveActive ? 'polite' : 'off'}>
{cardsToshow.map((card, index) => {
const cardStyleOverride = getByPath(card, 'styles.typeOverride');
Expand Down

0 comments on commit d591b55

Please sign in to comment.