📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
a11y improvements
Blue Mouse4a4158f741dd
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsxindex 019d85832..eb2318822 100644--- a/src/components/Footer/index.jsx+++ b/src/components/Footer/index.jsx@@ -67,21 +67,21 @@ const navigation = {name: 'LinkedIn',href: LINKEDIN_URL,icon: () => (- <img className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded' aria-hidden='true' src='/assets/linkedin.svg' alt='' />+ <img className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded' aria-hidden='true' src='/assets/linkedin.svg' alt='LinkedIn' />),},{name: 'Firefox Addon',href: FIREFOX_ADDON_URL,icon: () => (- <img className='h-6 w-6 opacity-75 hover:opacity-90' aria-hidden='true' src='/assets/firefox.svg' alt='' />+ <img className='h-6 w-6 opacity-75 hover:opacity-90' aria-hidden='true' src='/assets/firefox.svg' alt='Firefox' />),},{name: 'Chrome Extension',href: CHROME_EXTENSION_URL,icon: () => (- <img className='h-6 w-6 opacity-75 hover:opacity-90' aria-hidden='true' src='/assets/chrome.svg' alt='' />+ <img className='h-6 w-6 opacity-75 hover:opacity-90' aria-hidden='true' src='/assets/chrome.svg' alt='Chrome' />),},],@@ -102,12 +102,12 @@ const Footer = ({ minimal, authenticated }) => {</Link></div><div className='px-5 py-2'>- <Link to={routes.privacy} className='text-base text-gray-300 hover:text-white'>+ <Link to={routes.privacy} className='text-base text-gray-300 hover:text-white' aria-label={t('footer.pp')}>{t('footer.pp')}</Link></div><div className='px-5 py-2'>- <Link to={routes.terms} className='text-base text-gray-300 hover:text-white'>+ <Link to={routes.terms} className='text-base text-gray-300 hover:text-white' aria-label={t('footer.tos')}>{t('footer.tos')}</Link></div>@@ -118,7 +118,7 @@ const Footer = ({ minimal, authenticated }) => {</div>{!isSelfhosted && (<div className='px-5 py-2'>- <a href={STATUSPAGE_URL} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>+ <a href={STATUSPAGE_URL} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer' aria-label={`${t('footer.status')} (opens in a new tab)`}>{t('footer.status')}</a></div>@@ -148,16 +148,16 @@ const Footer = ({ minimal, authenticated }) => {<div><p className='flex text-gray-300 text-base'>{t('footer.madeIn')}- <a className='flex hover:underline hover:opacity-80 text-blue-400 ml-1' href={`https://${language}.wikipedia.org/wiki/Ukraine`} target='_blank' rel='noopener noreferrer'>- <Flag country='UA' size={18} alt='' />+ <a className='flex hover:underline hover:opacity-80 text-blue-400 ml-1' href={`https://${language}.wikipedia.org/wiki/Ukraine`} target='_blank' rel='noopener noreferrer' aria-label='Ukraine Wikipedia page (opens in a new tab)'>+ <Flag country='UA' size={18} alt='' aria-hidden='true' /> {t('footer.ukraine')}</a></p><p className='flex text-gray-300 text-base'>{t('footer.hostedIn')}- <a className='flex hover:underline hover:opacity-80 text-blue-400 ml-1' href={`https://${language}.wikipedia.org/wiki/European_Union`} target='_blank' rel='noopener noreferrer'>- <Flag country='EU' size={18} alt='' />+ <a className='flex hover:underline hover:opacity-80 text-blue-400 ml-1' href={`https://${language}.wikipedia.org/wiki/European_Union`} target='_blank' rel='noopener noreferrer' aria-label='European Union Wikipedia page (opens in a new tab)'>+ <Flag country='EU' size={18} alt='' aria-hidden='true' /> {t('footer.eu')}</a>@@ -165,7 +165,7 @@ const Footer = ({ minimal, authenticated }) => {</div><div className='flex space-x-4'>{_map(navigation.social, (item) => (- <a key={item.name} href={item.href} title={item.name} target='_blank' rel='noopener noreferrer' className='text-gray-400 hover:text-gray-300'>+ <a key={item.name} href={item.href} title={item.name} target='_blank' rel='noopener noreferrer' className='text-gray-400 hover:text-gray-300' aria-label={`${item.name} (opens in a new tab)`}><span className='sr-only'>{item.name}</span><item.icon className='h-6 w-6' aria-hidden='true' /></a>@@ -184,7 +184,7 @@ const Footer = ({ minimal, authenticated }) => {return (<li key={value}>- <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>+ <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer' aria-label={`${value} (opens in a new tab)`}>{value}</a></li>@@ -224,7 +224,7 @@ const Footer = ({ minimal, authenticated }) => {{t(`footer.${key}`)}</Link>) : (- <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>+ <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer' aria-label={`${t(`footer.${key}`)} (opens in a new tab)`}>{t(`footer.${key}`)}</a>)}@@ -248,9 +248,9 @@ const Footer = ({ minimal, authenticated }) => {</div></div><div className='flex gap-5 flex-wrap col-span-2 items-center justify-end'>- <img className='h-10 w-auto' src='/assets/pci.png' height='40' width='auto' loading='lazy' alt='' />- <img className='h-10 w-auto' src='/assets/visa.png' height='40' width='auto' loading='lazy' alt='' />- <img className='h-10 w-auto' src='/assets/mc.png' height='40' width='auto' loading='lazy' alt='' />+ <img className='h-10 w-auto' src='/assets/pci.png' height='40' width='auto' loading='lazy' alt='PCI DSS' />+ <img className='h-10 w-auto' src='/assets/visa.png' height='40' width='auto' loading='lazy' alt='Visa' />+ <img className='h-10 w-auto' src='/assets/mc.png' height='40' width='auto' loading='lazy' alt='Mastercard' /></div></div></div>diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsxindex 409f2c1d1..879286bcf 100644--- a/src/components/Header/index.jsx+++ b/src/components/Header/index.jsx@@ -65,9 +65,9 @@ const Header = ({ authenticated, theme, themeType }) => {<Link to={routes.main}><span className='sr-only'>Swetrix</span>{themeType === THEME_TYPE.christmas ? (- <img className='h-10' src='/assets/logo_white_christmas.png' alt='' />+ <img className='h-10' src='/assets/logo_white_christmas.png' alt='Swetrix' />) : (- <img className='h-10' src='/assets/logo_white.svg' alt='' />+ <img className='h-10' src='/assets/logo_white.svg' alt='Swetrix' />)}</Link><div className='hidden ml-10 space-x-1 lg:flex'>@@ -116,13 +116,13 @@ const Header = ({ authenticated, theme, themeType }) => {selectItemClassName='text-gray-700 block px-4 py-2 text-base cursor-pointer hover:bg-gray-200 dark:text-gray-50 dark:border-gray-800 dark:bg-gray-700 dark:hover:bg-gray-600'title={(<>- <Flag className='rounded-sm mr-1.5' country={languageFlag[language]} size={21} alt='' />+ <Flag className='rounded-sm mr-1.5' country={languageFlag[language]} size={21} alt='' aria-hidden='true' />{languages[language]}</>)}labelExtractor={(lng) => (<div className='flex'>- <Flag className='rounded-sm mr-1.5' country={languageFlag[lng]} size={21} alt='' />+ <Flag className='rounded-sm mr-1.5' country={languageFlag[lng]} size={21} alt='' aria-hidden='true' />{languages[lng]}</div>)}@@ -148,7 +148,7 @@ const Header = ({ authenticated, theme, themeType }) => {{t('auth.common.signin')}</Link>{!isSelfhosted && (- <Link to={routes.signup} className='inline-block select-none bg-white dark:bg-gray-700 dark:text-gray-50 py-2 px-3 md:px-4 border border-transparent rounded-md text-base font-medium text-indigo-600 hover:bg-indigo-50 hover:dark:bg-gray-600'>+ <Link to={routes.signup} className='inline-block select-none bg-white dark:bg-gray-700 dark:text-gray-50 py-2 px-3 md:px-4 border border-transparent rounded-md text-base font-medium text-indigo-600 hover:bg-indigo-50 hover:dark:bg-gray-600' aria-label={t('titles.signup')}>{t('common.getStarted')}</Link>)}@@ -220,12 +220,12 @@ const Header = ({ authenticated, theme, themeType }) => {<span className='sr-only'>Swetrix</span>{theme === 'dark' ? (themeType === THEME_TYPE.christmas ? (- <img className='h-10' src='/assets/logo_white_christmas.png' alt='' />+ <img className='h-10' src='/assets/logo_white_christmas.png' alt='Swetrix' />) : (- <img className='h-10' src='/assets/logo_white.svg' alt='' />+ <img className='h-10' src='/assets/logo_white.svg' alt='Swetrix' />)) : (- <img className='h-10' src='/assets/logo_blue.svg' alt='' />+ <img className='h-10' src='/assets/logo_blue.svg' alt='Swetrix' />)}</Link><Popover.Button ref={buttonRef} className='bg-white dark:bg-gray-700 dark:hover:bg-gray-600 dark:text-gray-200 rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500'>@@ -244,13 +244,13 @@ const Header = ({ authenticated, theme, themeType }) => {selectItemClassName='text-gray-700 block px-4 py-2 text-base cursor-pointer hover:bg-gray-200 dark:text-gray-50 dark:border-gray-800 dark:bg-gray-700 dark:hover:bg-gray-600'title={(<>- <Flag className='rounded-sm mr-1.5' country={languageFlag[language]} size={21} alt='' />+ <Flag className='rounded-sm mr-1.5' country={languageFlag[language]} size={21} alt='' aria-hidden='true' />{languages[language]}</>)}labelExtractor={(lng) => (<div className='flex'>- <Flag className='rounded-sm mr-1.5' country={languageFlag[lng]} size={21} alt='' />+ <Flag className='rounded-sm mr-1.5' country={languageFlag[lng]} size={21} alt='' aria-hidden='true' />{languages[lng]}</div>)}@@ -282,7 +282,7 @@ const Header = ({ authenticated, theme, themeType }) => {</Link></div><div onClick={() => buttonRef.current?.click()}>- <Link to={routes.signup} className='w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-white bg-indigo-600 hover:bg-indigo-700'>+ <Link to={routes.signup} className='w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-white bg-indigo-600 hover:bg-indigo-700' aria-label={t('titles.signup')}>{t('common.getStarted')}</Link></div>diff --git a/src/pages/About/index.jsx b/src/pages/About/index.jsxindex f8b25a9b6..565c785cb 100644--- a/src/pages/About/index.jsx+++ b/src/pages/About/index.jsx@@ -7,7 +7,7 @@ import Title from 'components/Title'const socialIcons = {LinkedIn: (- <img className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded' aria-hidden='true' src='/assets/linkedin.svg' alt='' />+ <img className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded' aria-hidden='true' src='/assets/linkedin.svg' alt='LinkedIn' />),Github: (<svg className='h-6 w-6' fill='currentColor' viewBox='0 0 24 24'>@@ -24,7 +24,7 @@ const Teammate = ({photo, name, role, socials, desc,}) => (<div className='flex flex-col lg:flex-row mt-6'>- <img alt='' src={photo} className='rounded-xl shadow-lg w-80' />+ <img alt={name} src={photo} className='rounded-xl shadow-lg w-80' /><div className='ml-0 lg:ml-2'><p className='text-3xl mt-2 lg:mt-0 font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{name}@@ -34,7 +34,7 @@ const Teammate = ({</p><div className='flex space-x-4 mt-2'>{_map(socials, (value, key) => (- <a key={value} href={value} title={key} target='_blank' rel='noopener noreferrer' className='text-gray-400 hover:text-gray-300'>+ <a key={value} href={value} title={key} target='_blank' rel='noopener noreferrer' className='text-gray-400 hover:text-gray-300' aria-label={`${key} (opens in a new tab)`}><span className='sr-only'>{key}</span>{socialIcons[key]}</a>@@ -109,7 +109,7 @@ const About = () => (Swetrix was launched in August 2021 as a project that focuses on user privacy and transparency, while at the same time offering the same functionality as competitors like Google Analytics.<br />Swetrix is completely - <a href={GITHUB_URL} className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' target='_blank' rel='noopener noreferrer'>+ <a href={GITHUB_URL} className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' target='_blank' rel='noopener noreferrer' aria-label='Source code (opens in a new tab)'>open source</a>, we don't use cookies to track users so you can forget about cookie banners using our service.diff --git a/src/pages/Auth/Signin/Signin.jsx b/src/pages/Auth/Signin/Signin.jsxindex 1897e07e6..0c43bfe5a 100644--- a/src/pages/Auth/Signin/Signin.jsx+++ b/src/pages/Auth/Signin/Signin.jsx@@ -207,7 +207,7 @@ const Signin = ({ login, loginSuccess, loginFailed }) => {{t('auth.signin.forgot')}</Link><span className='text-gray-900 dark:text-gray-50'> | </span>- <Link to={routes.signup} className='underline text-blue-600 hover:text-indigo-800 dark:text-blue-400 dark:hover:text-blue-500'>+ <Link to={routes.signup} className='underline text-blue-600 hover:text-indigo-800 dark:text-blue-400 dark:hover:text-blue-500' aria-label={t('titles.signup')}>{t('auth.common.signupInstead')}</Link></>diff --git a/src/pages/Auth/Signup/Signup.jsx b/src/pages/Auth/Signup/Signup.jsxindex d80bdc7dc..f7c2e07e6 100644--- a/src/pages/Auth/Signup/Signup.jsx+++ b/src/pages/Auth/Signup/Signup.jsx@@ -154,8 +154,8 @@ const Signup = ({ signup }) => {t={t}i18nKey='auth.signup.tos'components={{- tos: <Link to={routes.terms} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' />,- pp: <Link to={routes.privacy} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' />,+ tos: <Link to={routes.terms} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' aria-label={t('footer.tos')} />,+ pp: <Link to={routes.privacy} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' aria-label={t('footer.pp')} />,}}/></span>diff --git a/src/pages/Changelog/index.jsx b/src/pages/Changelog/index.jsxindex e500ff75f..85bb16baa 100644--- a/src/pages/Changelog/index.jsx+++ b/src/pages/Changelog/index.jsx@@ -42,7 +42,7 @@ const changelog = [<>Added the comparisons column to the footer. There's only{' '}- <a href={SWETRIX_VS_GOOGLE} className='font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' target='_blank' rel='noopener noreferrer'>+ <a href={SWETRIX_VS_GOOGLE} className='font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' target='_blank' rel='noopener noreferrer' aria-label='Swetrix to Google Analytics comparison (opens in a new tab)'>Google Analytics comparison</a>{' '}diff --git a/src/pages/Docs/Docs.jsx b/src/pages/Docs/Docs.jsxindex e4a256a23..bde1b5b8f 100644--- a/src/pages/Docs/Docs.jsx+++ b/src/pages/Docs/Docs.jsx@@ -180,7 +180,7 @@ const Docs = () => {<ul className='ml-5 text-lg list-disc marker:text-gray-900 dark:marker:text-gray-50'>{_map(integrations, ({ name, link }) => (<li key={name}>- <a href={link} className='flex hover:underline hover:opacity-80 text-indigo-600 dark:text-indigo-400 ml-1' target='_blank' rel='noopener noreferrer'>+ <a href={link} className='flex hover:underline hover:opacity-80 text-indigo-600 dark:text-indigo-400 ml-1' target='_blank' rel='noopener noreferrer' aria-label={`${name} (opens in a new tab)`}>{name}</a></li>@@ -193,7 +193,7 @@ const Docs = () => {<ul className='ml-5 text-lg list-disc marker:text-gray-900 dark:marker:text-gray-50'>{_map(thirdPartyIntegrations, ({ name, link }) => (<li key={name}>- <a href={link} className='flex hover:underline hover:opacity-80 text-indigo-600 dark:text-indigo-400 ml-1' target='_blank' rel='noopener noreferrer'>+ <a href={link} className='flex hover:underline hover:opacity-80 text-indigo-600 dark:text-indigo-400 ml-1' target='_blank' rel='noopener noreferrer' aria-label={`${name} (opens in a new tab)`}>{name}</a></li>diff --git a/src/pages/Features/index.jsx b/src/pages/Features/index.jsxindex e78dcbd8a..de0dc39b9 100644--- a/src/pages/Features/index.jsx+++ b/src/pages/Features/index.jsx@@ -29,7 +29,7 @@ const Features = () => {i18nKey='features.feature1Content'components={{docs: <HashLink className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' to={`${routes.docs}#docs-tv`} />,- gh: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href='https://github.com/Swetrix' target='_blank' rel='noopener noreferrer' />,+ gh: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href='https://github.com/Swetrix' target='_blank' rel='noopener noreferrer' aria-label='Swetrix Github (opens in a new tab)' />,}}/></p>@@ -42,8 +42,8 @@ const Features = () => {t={t}i18nKey='features.feature2Content'components={{- firefox: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={FIREFOX_ADDON_URL} target='_blank' rel='noopener noreferrer' />,- chrome: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={CHROME_EXTENSION_URL} target='_blank' rel='noopener noreferrer' />,+ firefox: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={FIREFOX_ADDON_URL} target='_blank' rel='noopener noreferrer' aria-label='Firefox Addon (opens in a new tab)' />,+ chrome: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={CHROME_EXTENSION_URL} target='_blank' rel='noopener noreferrer' aria-label='Chrome Extension (opens in a new tab)' />,}}/></p>@@ -74,6 +74,7 @@ const Features = () => {<Linkto={routes.signup}className='flex items-center justify-center px-3 py-2 border border-transparent text-lg font-medium rounded-md shadow-sm text-indigo-800 bg-indigo-50 hover:bg-indigo-100'+ aria-label={t('titles.signup')}>{t('common.getStarted')}</Link>diff --git a/src/pages/MainPage/Pricing.jsx b/src/pages/MainPage/Pricing.jsxindex a12816452..4308861ae 100644--- a/src/pages/MainPage/Pricing.jsx+++ b/src/pages/MainPage/Pricing.jsx@@ -289,6 +289,7 @@ const Pricing = ({ t, language }) => {<LinkclassName='mt-8 block w-full bg-indigo-600 rounded-md py-2 text-sm font-semibold text-white text-center hover:bg-indigo-700'to={routes.signup}+ aria-label={t('titles.signup')}>{tier.planCode === 'free' ? t('common.getStarted') : t('pricing.upgrade')}</Link>diff --git a/src/pages/MainPage/index.jsx b/src/pages/MainPage/index.jsxindex 931a9c7e1..365ffbe77 100644--- a/src/pages/MainPage/index.jsx+++ b/src/pages/MainPage/index.jsx@@ -93,7 +93,7 @@ const Main = () => {<div className='h-6 bg-slate-700 w-full rounded-md' />) : (<a- className='text-indigo-500 dark:text-indigo-600 hover:underline font-semibold'+ className='text-indigo-400 hover:underline font-semibold'href={`${process.env.REACT_APP_BLOG_URL}post/${lastBlogPost.url_path}`}target='_blank'rel='noopener'@@ -108,13 +108,23 @@ const Main = () => {{t('main.trackEveryMetric')}</p><div className='mt-10 flex flex-col items-center sm:flex-row'>- <Link to={routes.signup} className='rounded-md border !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'>+ <Link+ to={routes.signup}+ className='rounded-md border !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'+ aria-label={t('titles.signup')}+ ><span className='text-base font-semibold mr-1'>{t('main.start')}</span><ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' /></Link>- <a href={LIVE_DEMO_URL} className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 !border-gray-200 border w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-white bg-transparent hover:bg-gray-800' target='_blank' rel='noopener noreferrer'>+ <a+ href={LIVE_DEMO_URL}+ className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 !border-gray-200 border w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-white bg-transparent hover:bg-gray-800'+ target='_blank'+ rel='noopener noreferrer'+ aria-label={`${t('common.liveDemo')} (opens in a new tab)`}+ ><span className='text-base font-semibold'>{t('common.liveDemo')}</span></a></div>@@ -143,13 +153,19 @@ const Main = () => {<img src='/assets/CoreFeaturesLight.png' className='md:max-w-md md:mr-3 mt-3 md:mt-0 lg:max-w-full md:relative md:-top-10' alt='Core Analytics Features' /></picture><div className='max-w-lg'>- <h1 className='font-extrabold text-4xl dark:text-white text-gray-800'>+ <h2 className='font-extrabold text-4xl dark:text-white text-gray-800'>{t('main.coreFeatures.title')}- </h1>+ </h2><p className='mt-6 dark:text-gray-400 text-gray-600 mb-11'>{t('main.coreFeatures.desc')}</p>- <a href={LIVE_DEMO_URL} className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center' target='_blank' rel='noopener noreferrer'>+ <a+ href={LIVE_DEMO_URL}+ className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center'+ target='_blank'+ rel='noopener noreferrer'+ aria-label={`${t('common.liveDemo')} (opens in a new tab)`}+ >{t('common.liveDemo')}<ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' /></a>@@ -159,16 +175,22 @@ const Main = () => {{/* section Marketplace & build-in Extensions */}<section className='flex pt-20 md:pt-30 flex-col md:flex-row items-center md:justify-between max-w-7xl m-auto'><div className='max-w-[516px]'>- <h1 className='font-extrabold text-4xl text-gray-800 dark:text-white'>+ <h2 className='font-extrabold text-4xl text-gray-800 dark:text-white'>{t('main.marketplace.title')}- </h1>+ </h2><p className='mt-6 text-gray-600 dark:text-gray-400 mb-3'>{t('main.marketplace.desc1')}</p><p className='text-gray-600 dark:text-gray-400 mb-11'>{t('main.marketplace.desc2')}</p>- <a href={MARKETPLACE_URL} className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center' target='_blank' rel='noopener noreferrer'>+ <a+ href={MARKETPLACE_URL}+ className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center'+ target='_blank'+ rel='noopener noreferrer'+ aria-label='Swetrix Marketplace (opens in a new tab)'+ >{t('main.visitAddons')}<ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' /></a>@@ -180,9 +202,9 @@ const Main = () => {<section className='flex pt-20 md:pt-48 flex-col-reverse md:flex-row items-center md:items-start md:justify-between max-w-7xl m-auto'><img className='md:max-w-[360px] md:mr-3 mt-3 md:mt-0 lg:max-w-lg' src='/assets/gdpr.svg' alt='GDPR compliant' /><div className='max-w-[516px] w-full md:min-w-[370px] pb-16 md:pb-0 md:pt-8'>- <h1 className='font-extrabold mb-6 text-4xl text-gray-800 dark:text-white'>+ <h2 className='font-extrabold mb-6 text-4xl text-gray-800 dark:text-white'>{t('main.privacy.title')}- </h1>+ </h2>{_map(t('main.privacy.list', { returnObjects: true }), (item) => (<div key={item.label} className='mb-4 flex items-center'><div className='mr-3'>@@ -195,7 +217,7 @@ const Main = () => {</p></div>))}- <Link to={routes.privacy} className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center'>+ <Link to={routes.privacy} className='dark:text-indigo-400 text-indigo-700 font-bold border-0 flex items-center' aria-label={t('footer.pp')}>{t('main.dataProtection')}<ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' /></Link>@@ -223,8 +245,8 @@ const Main = () => {t={t}i18nKey='main.signupTerms'components={{- tos: <Link to={routes.terms} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' />,- pp: <Link to={routes.privacy} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' />,+ tos: <Link to={routes.terms} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' aria-label={t('footer.tos')} />,+ pp: <Link to={routes.privacy} className='font-medium text-gray-900 dark:text-gray-300 hover:underline' aria-label={t('footer.pp')} />,}}/></p>@@ -242,7 +264,7 @@ const Main = () => {/><picture><source srcSet={theme === 'dark' ? '/assets/section-signup-dark.webp' : '/assets/section-signup-light.webp'} type='image/webp' />- <img src={theme === 'dark' ? '/assets/section-signup-dark.png' : '/assets/section-signup-light.png'} className='relative z-50 hidden md:block' alt='' />+ <img src={theme === 'dark' ? '/assets/section-signup-dark.png' : '/assets/section-signup-light.png'} className='relative z-50 hidden md:block' alt='Swetrix Dashboard overview' /></picture></div></div>@@ -252,9 +274,9 @@ const Main = () => {<section className='bg-white dark:bg-gray-900 pt-20 relative pb-14'><BackgroundSvg className='absolute -left-8' type='shapes' /><div className='mx-auto text-gray-800 font-extrabold text-3xl sm:text-5xl w-fit relative'>- <h1 className='relative z-20 dark:text-white'>+ <h2 className='relative z-20 dark:text-white'>{t('main.coreFeaturesBlock')}- </h1>+ </h2><BackgroundSvg className='absolute right-0 sm:-right-16 top-9 z-10 opacity-30' type='semicircle' /></div><div className='mt-[60px] flex items-center max-w-7xl w-full mx-auto flex-wrap justify-center xl:justify-between'>@@ -273,9 +295,9 @@ const Main = () => {{/* end Core features section */}{/* section supports */}<section className='bg-white dark:bg-gray-800 pt-24 sm:px-5 px-3 relative pb-28'>- <h1 className='mx-auto text-gray-800 dark:text-white font-bold text-3xl sm:ext-5xl w-fit text-center'>+ <h2 className='mx-auto text-gray-800 dark:text-white font-bold text-3xl sm:ext-5xl w-fit text-center'>{t('main.supports')}- </h1>+ </h2><div className='mt-20 grid sm:grid-cols-4 md:grid-cols-6 grid-cols-3 gap-x-4 gap-y-10 justify-items-center items-center lg:gap-x-10 lg:gap-y-16 max-w-7xl w-full mx-auto justify-between'><Telegram theme={theme} className='max-w-[64px] sm:max-w-[150px] max-h-16' /><NuxtJS theme={theme} className='max-w-[106px] sm:max-w-[150px] max-h-12' />@@ -303,9 +325,9 @@ const Main = () => {}}/><section className='relative z-20 px-3'>- <h1 className='mt-20 text-center text-3xl sm:text-5xl text-white font-extrabold max-w-lg w-full mx-auto'>+ <h2 className='mt-20 text-center text-3xl sm:text-5xl text-white font-extrabold max-w-lg w-full mx-auto'>{t('main.marketplaceBlock')}- </h1>+ </h2><div className='grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-y-24 justify-between justify-items-center text-white pt-20 pb-36'>{_map(t('main.mFeatures', { returnObjects: true }), (item, index) => (<div key={item.name} className='max-w-[310px] w-full'>@@ -338,9 +360,9 @@ const Main = () => {<BackgroundSvg type='shapes' /></div><div className='max-w-[1000px] w-full mx-auto'>- <h1 className='text-gray-800 text-center font-extrabold text-5xl relative z-20 dark:text-white'>+ <h2 className='text-gray-800 text-center font-extrabold text-5xl relative z-20 dark:text-white'>{t('main.testimonials')}- </h1>+ </h2><div className='flex items-center flex-col md:flex-row justify-between mt-16'>{_map(t('main.lTestimonials', { returnObjects: true }), (item, index) => (<div@@ -374,7 +396,7 @@ const Main = () => {<section className='max-w-7xl w-full mx-auto bg-gray-800 overflow-hidden lg:h-[450px]' style={{ borderRadius: '100px 30px 30px 30px' }}><div className='flex items-start justify-between pt-8 pl-8 sm:pl-14 lg:pl-28 md:flex-row flex-col'><div className='max-w-[430px] w-full pt-14 pr-3 mb-16 md:mb-0'>- <h1 className='font-bold text-2xl leading-9 sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px] text-white mb-3'>+ <h2 className='font-bold text-2xl leading-9 sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px] text-white mb-3'><Transt={t}i18nKey='main.os'@@ -383,11 +405,11 @@ const Main = () => {gradi: <span className='text-transparent bg-clip-text' style={{ background: 'linear-gradient(91.37deg, #4E46DD 10%, #5C3CDA 55%, #A274EF 100%)' }} />,}}/>- </h1>+ </h2><p className='text-gray-300 mb-9 font-medium text-base sm:text-lg'>{t('main.demoGeoReports')}</p>- <Link to={routes.signup} className='rounded-md border !duration-300 transition-all w-full max-w-[210px] h-[50px] flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'>+ <Link to={routes.signup} className='rounded-md border !duration-300 transition-all w-full max-w-[210px] h-[50px] flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent' aria-label={t('titles.signup')}><span className='text-base font-semibold mr-1'>{t('main.start')}</span><ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' /></Link>@@ -407,7 +429,7 @@ const Main = () => {<div className='absolute left-10'><BackgroundSvg type='shapes' /></div>- <h1 className='text-gray-800 text-5xl font-extrabold text-center relative z-20 dark:text-white'>Checklist</h1>+ <h2 className='text-gray-800 text-5xl font-extrabold text-center relative z-20 dark:text-white'>Checklist</h2><div className='flex flex-col lg:flex-row items-center justify-between max-w-5xl w-full mx-auto mt-16'><divclassName='max-w-xs w-full mx-auto shadow-lg overflow-hidden relative z-10'@@ -557,16 +579,16 @@ const Main = () => {<img src={theme === 'dark' ? '/assets/opensource_dark.png' : '/assets/opensource_light.png'} loading='lazy' alt='Swetrix open source' /></picture><div className='max-w-lg w-full lg:ml-5'>- <h1 className='text-3xl md:text-4xl text-white font-extrabold'>+ <h2 className='text-3xl md:text-4xl text-white font-extrabold'><Transt={t}i18nKey='main.opensourceAdv'components={{// eslint-disable-next-line jsx-a11y/anchor-has-content- url: <a href={GITHUB_URL} className='hover:underline' target='_blank' rel='noopener noreferrer' />,+ url: <a href={GITHUB_URL} className='hover:underline' target='_blank' rel='noopener noreferrer' aria-label='Source code (opens in a new tab)' />,}}/>- </h1>+ </h2><hr className='border-gray-600 border-1 max-w-[346px] my-6' /><div className='max-w-md w-full lg:mb-0 mb-9'>{_map(t('main.opensource', { returnObjects: true }), (item) => (@@ -591,9 +613,9 @@ const Main = () => {</div><div className='max-w-5xl w-full mx-auto px-3'><div className='max-w-sm w-full mx-auto'>- <h1 className='text-gray-900 dark:text-white text-3xl md:text-4xl font-extrabold text-center'>+ <h2 className='text-gray-900 dark:text-white text-3xl md:text-4xl font-extrabold text-center'>{t('main.becomeDev')}- </h1>+ </h2><p className='text-gray-600 dark:text-gray-400 text-base font-medium text-center mt-2'>{t('main.becomeDevDesc')}</p>diff --git a/src/pages/Project/View/Panels.jsx b/src/pages/Project/View/Panels.jsxindex 45e0c4cd6..d16a67e37 100644--- a/src/pages/Project/View/Panels.jsx+++ b/src/pages/Project/View/Panels.jsx@@ -601,6 +601,7 @@ const Panel = ({href={rowData}target='_blank'rel='noopener noreferrer nofollow'+ aria-label={`${rowData} (opens in a new tab)`}>{rowData}{!hideFilters && (diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsxindex 94fce726f..3e61ce593 100644--- a/src/pages/Project/View/ViewProject.jsx+++ b/src/pages/Project/View/ViewProject.jsx@@ -1408,7 +1408,7 @@ const ViewProject = ({<p className='text-lg whitespace-pre-wrap mt-2 text-gray-100'>{t('dashboard.alertsDesc')}</p>- <Link to={routes.signup} className='inline-block select-none mt-6 bg-white py-2 px-3 md:px-4 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50'>+ <Link to={routes.signup} className='inline-block select-none mt-6 bg-white py-2 px-3 md:px-4 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50' aria-label={t('titles.signup')}>{t('common.getStarted')}</Link></div>@@ -1633,6 +1633,7 @@ const ViewProject = ({<Linkto={routes.signup}className='flex items-center justify-center px-3 py-2 border border-transparent text-lg font-medium rounded-md shadow-sm text-indigo-800 bg-indigo-50 hover:bg-indigo-100'+ aria-label={t('titles.signup')}>{t('common.getStarted')}</Link>diff --git a/src/pages/Project/View/components/CCRow.jsx b/src/pages/Project/View/components/CCRow.jsxindex d262536cc..2f9452b2b 100644--- a/src/pages/Project/View/components/CCRow.jsx+++ b/src/pages/Project/View/components/CCRow.jsx@@ -17,6 +17,7 @@ const CCRow = ({ rowName, language }) => (country={rowName}size={21}alt=''+ aria-hidden='true'/> {countries.getName(rowName, language)}diff --git a/src/pages/Project/View/components/LiveVisitorsDropdown.jsx b/src/pages/Project/View/components/LiveVisitorsDropdown.jsxindex 77361fec4..171ee9ab9 100644--- a/src/pages/Project/View/components/LiveVisitorsDropdown.jsx+++ b/src/pages/Project/View/components/LiveVisitorsDropdown.jsx@@ -66,6 +66,7 @@ const LiveVisitorsDropdown = ({ live, projectId }) => {country={cc}size={21}alt=''+ aria-hidden='true'/><p className='mr-2'>{os}</p><p className='mr-2'>{br}</p>diff --git a/src/pages/Project/View/components/RefRow.jsx b/src/pages/Project/View/components/RefRow.jsxindex 16760334b..9847c7956 100644--- a/src/pages/Project/View/components/RefRow.jsx+++ b/src/pages/Project/View/components/RefRow.jsx@@ -26,6 +26,7 @@ const RefRow = ({ rowName, showIcons }) => {className='w-5 h-5 mr-1.5 float-left'src={`https://icons.duckduckgo.com/ip3/${url.hostname}.ico`}alt=''+ aria-hidden='true'/>)}{isUrl ? (@@ -35,6 +36,7 @@ const RefRow = ({ rowName, showIcons }) => {target='_blank'rel='noopener noreferrer nofollow'onClick={(e) => e.stopPropagation()}+ aria-label={`${rowName} (opens in a new tab)`}>{rowName}</a>diff --git a/src/ui/Checkbox.jsx b/src/ui/Checkbox.jsxindex b04e74934..64c5fb248 100644--- a/src/ui/Checkbox.jsx+++ b/src/ui/Checkbox.jsx@@ -15,7 +15,7 @@ const Checkbox = ({<div className='flex items-center h-5'><inputid={identifier}- aria-describedby={`${identifier}-description`}+ aria-describedby={identifier}name={name}type='checkbox'checked={checked}