Mise au propre des balises `<svg>` (#2285)

* feat: Ajout role="img"

* feat: Ajout d'un aria-label sur le champ de recherche global + correction coquille

* feat: Retire toutes les balises <title> de <svg>

* feat: Retire titres img + améliore les titres d'iframe

* fix: Corrige un label

* fix: retire aria-label inutile
simul-cipav23
Benjamin Arias 2022-09-22 15:22:04 +02:00 committed by GitHub
parent c03d40325e
commit 576bb7828c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 74 additions and 59 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -7,7 +7,7 @@ import { Link } from '@/design-system/typography/link'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import { CurrentSimulatorDataContext } from '@/pages/Simulateurs/metadata'
import React, { useCallback, useContext, useState } from 'react'
import { Trans } from 'react-i18next'
import { Trans, useTranslation } from 'react-i18next'
import { useLocation } from 'react-router-dom'
import styled from 'styled-components'
import { TrackingContext } from '../../ATInternetTracking'
@ -57,6 +57,7 @@ export default function PageFeedback({ customMessage }: PageFeedbackProps) {
showThanks: false,
})
const tag = useContext(TrackingContext)
const { t } = useTranslation()
const handleFeedback = useCallback(
(rating: 'mauvais' | 'moyen' | 'bien' | 'très bien') => {
@ -133,7 +134,7 @@ export default function PageFeedback({ customMessage }: PageFeedbackProps) {
opacity: 0.8;
}
`}
aria-label="close"
aria-label={t('Fermer')}
>
<small>×</small>
</button>

View File

@ -64,6 +64,7 @@ export default function MoreInfosOnUs() {
margin: 0,
}}
aria-hidden="true"
role="img"
>
<g>
<path d={icons.github.icon} />

View File

@ -34,7 +34,10 @@ export default function SearchButton() {
small
>
{(closePopover) => (
<SearchRulesAndSimulators closePopover={closePopover} />
<SearchRulesAndSimulators
aria-label={t('Que cherchez-vous ?')}
closePopover={closePopover}
/>
)}
</PopoverWithTrigger>
)

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'
import { connectSearchBox } from 'react-instantsearch-dom'
export const SearchBox = connectSearchBox(
({ currentRefinement, isSearchStalled, refine }) => {
({ currentRefinement, isSearchStalled, refine, ...props }) => {
const { t } = useTranslation()
return (
@ -19,6 +19,7 @@ export const SearchBox = connectSearchBox(
'Mot-clé ou acronyme (ex : CSG)'
)}
isSearchStalled={isSearchStalled}
{...props}
/>
</form>
)

View File

@ -18,7 +18,10 @@ interface Props {
closePopover: () => void
}
export default function SearchRulesAndSimulators({ closePopover }: Props) {
export default function SearchRulesAndSimulators({
closePopover,
...searchProps
}: Props) {
const location = useLocation()
const prevLocation = useRef(location)
useEffect(() => {
@ -33,7 +36,7 @@ export default function SearchRulesAndSimulators({ closePopover }: Props) {
indexName={`${ALGOLIA_INDEX_PREFIX}rules`}
searchClient={searchClient}
>
<SearchBox />
<SearchBox {...searchProps} />
<Index indexName={`${ALGOLIA_INDEX_PREFIX}simulateurs`}>
<Configure hitsPerPage={6} />

View File

@ -110,7 +110,7 @@ export function CotisationsUrssaf({
target="_blank"
rel="noreferrer"
>
<img src={urssafSrc} title="logo Urssaf" alt="Urssaf" />
<img src={urssafSrc} aria-label="logo Urssaf" alt="Urssaf" />
</InstitutionLogo>
<Body>
<Trans i18nKey="simulateurs.explanation.institutions.urssaf">
@ -245,7 +245,7 @@ export function InstitutionsPartenairesArtisteAuteur() {
target="_blank"
rel="noreferrer"
>
<img src={logosSrc.IRCEC} title="logo IRCEC" alt="IRCEC" />
<img src={logosSrc.IRCEC} alt="logo IRCEC" />
</InstitutionLogo>
<Body>{descriptionIRCEC}</Body>
<Value

View File

@ -42,6 +42,7 @@ export default function SocialIcon({ media }: { media: keyof typeof icons }) {
margin: '0.6rem',
fillRule: 'evenodd',
}}
role="img"
>
<FilledG>
<path d={icons[media].icon} />

View File

@ -1,3 +1,3 @@
<svg width="16" height="10" viewBox="0 0 16 10" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="16" height="10" viewBox="0 0 16 10" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" fill="#1D458C" d="M15.6585 9.75258C16.0742 9.3889 16.1163 8.75713 15.7526 8.3415L8.75259 0.341496C8.5627 0.124481 8.28838 3.43869e-09 8.00001 0C7.71165 -3.43869e-09 7.43732 0.124481 7.24744 0.341496L0.247437 8.3415C-0.116245 8.75713 -0.0741278 9.38889 0.341509 9.75258C0.757145 10.1163 1.38891 10.0741 1.75259 9.6585L8.00001 2.51859L14.2474 9.6585C14.6111 10.0741 15.2429 10.1163 15.6585 9.75258Z" />
</svg>

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 551 B

View File

@ -5,6 +5,7 @@ export function Loader() {
width={24}
height={24}
xmlns="http://www.w3.org/2000/svg"
role="img"
>
<defs>
<linearGradient

View File

@ -5,6 +5,8 @@ export function SearchIcon({ ...props }) {
height={24}
fill="none"
xmlns="http://www.w3.org/2000/svg"
role="img"
aria-hidden="true"
{...props}
>
<path

View File

@ -8,6 +8,7 @@ export const CarretDown = (props: HTMLAttributes<SVGElement>) => (
viewBox="0 0 14 8"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
role="img"
>
<path d="M7.70701 7.29289L13.2928 1.70711C13.9228 1.07714 13.4766 0 12.5857 0H1.41412C0.523211 0 0.0770421 1.07714 0.707007 1.70711L6.2928 7.29289C6.68332 7.68342 7.31648 7.68342 7.70701 7.29289Z" />
</svg>

View File

@ -1,4 +1,4 @@
<svg width="16" height="13" viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="16" height="13" viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 0C1.55228 0 2 0.447715 2 1V6.65C2 7.20228 2.44772 7.65 3 7.65H15C15.5523 7.65 16 8.09771 16 8.65C16 9.20228 15.5523 9.65 15 9.65H3C1.34314 9.65 0 8.30685 0 6.65V1C0 0.447715 0.447715 0 1 0Z" fill="#2E5FB6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5407 4.69739C11.9564 4.33371 12.5881 4.37582 12.9518 4.79146L15.7518 7.99146C16.0817 8.36849 16.0817 8.93144 15.7518 9.30847L12.9518 12.5085C12.5881 12.9241 11.9564 12.9662 11.5407 12.6025C11.1251 12.2389 11.083 11.6071 11.4467 11.1915L13.6705 8.64997L11.4467 6.10847C11.083 5.69283 11.1251 5.06107 11.5407 4.69739Z" fill="#2E5FB6"/>
</svg>

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 761 B

View File

@ -1,4 +1,4 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM20 10C20 15.5229 15.5228 20 10 20C4.47715 20 -4.82823e-07 15.5228 0 10C4.82823e-07 4.47715 4.47715 -4.82823e-07 10 0C15.5229 4.82823e-07 20 4.47715 20 10Z" fill="#D3AA00"/>
<path d="M9 6.00003C9 5.44774 9.44772 5.00003 10 5.00003C10.5523 5.00003 11 5.44774 11 6.00003C11 6.55231 10.5523 7.00003 10 7.00003C9.44772 7.00003 9 6.55231 9 6.00003Z" fill="#D3AA00"/>
<path d="M11 14.6C11 15.1523 10.5523 15.6 10 15.6C9.44772 15.6 9 15.1523 9 14.6L9 9.4C9 8.84772 9.44772 8.4 10 8.4C10.5523 8.4 11 8.84772 11 9.4L11 14.6Z" fill="#D3AA00"/>

Before

Width:  |  Height:  |  Size: 799 B

After

Width:  |  Height:  |  Size: 810 B

View File

@ -1,4 +1,4 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z" fill="#3CB053"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.261 6.14683C15.6494 6.53952 15.6459 7.17268 15.2532 7.56103L9.13554 13.611C8.74443 13.9978 8.11438 13.9961 7.72538 13.6072L4.643 10.5258C4.25242 10.1354 4.25232 9.50219 4.64278 9.11161C5.03324 8.72102 5.66641 8.72092 6.05699 9.11138L8.43618 11.4898L13.8468 6.13897C14.2395 5.75063 14.8727 5.75415 15.261 6.14683Z" fill="#3CB053"/>
</svg>

Before

Width:  |  Height:  |  Size: 781 B

After

Width:  |  Height:  |  Size: 792 B

View File

@ -101,6 +101,7 @@ export default function Popover(
<CloseButton {...closeButtonProps} ref={closeButtonRef}>
Fermer
<svg
role="img"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 564 182" style="enable-background:new 0 0 564 182;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1ECAD3;}

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -43,7 +44,7 @@
inkscape:window-x="0"
inkscape:window-y="28"
inkscape:window-maximized="0"
inkscape:current-layer="layer" />
inkscape:current-layer="layer" role="img" />
<style
type="text/css"
id="style143">

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -57,8 +58,6 @@
<style
id="style2">.cls-1{fill:#1ea0f5;}.cls-2{fill:#91ebc3;}.cls-3{fill:#46dcc3;}.cls-4{fill:#1e286e;}.cls-5{fill:#4b508c;}.cls-6{fill:#fad750;}.cls-7{fill:#f5c328;}.cls-8{fill:#cd0a5a;}.cls-9{fill:#ff2d96;}.cls-10{fill:#197dbe;}</style>
</defs>
<title
id="title6">mon-entreprise_logo_fr</title>
<g
id="mon-entrerprise_logo_fr"
transform="matrix(0.85499561,0,0,0.85499561,499.63172,88.773334)">

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}

Before

Width:  |  Height:  |  Size: 892 B

After

Width:  |  Height:  |  Size: 903 B

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 564 182" style="enable-background:new 0 0 564 182;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1ECAD3;}

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -53,8 +54,6 @@
<style
id="style2">.cls-1{fill:#1e286e;}.cls-2{fill:#4b508c;}.cls-3{fill:#fad750;}.cls-4{fill:#f5c328;}.cls-5{fill:#cd0a5a;}.cls-6{fill:#ff2d96;}.cls-7{fill:#1ea0f5;}.cls-8{fill:#197dbe;}.cls-9{fill:#46dcc3;}.cls-10{fill:#91ebc3;}</style>
</defs>
<title
id="title6">mon-entreprise_logo</title>
<g
id="mon-entrerpise_logo"
transform="translate(-39.23,-24.797057)">

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,4 +1,4 @@
<svg width="1240" height="209" viewBox="0 0 1240 209" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="1240" height="209" viewBox="0 0 1240 209" fill="none" xmlns="http://www.w3.org/2000/svg">
<line x1="674.5" y1="2.18557e-08" x2="674.5" y2="209" stroke="#9CB3E4"/>
<path d="M795.056 40.584C801.52 40.584 806.64 42.504 810.416 46.344C814.256 50.12 816.176 55.816 816.176 63.432V93H801.2V65.736C801.2 61.64 800.336 58.6 798.608 56.616C796.944 54.568 794.544 53.544 791.408 53.544C787.888 53.544 785.104 54.696 783.056 57C781.008 59.24 779.984 62.6 779.984 67.08V93H765.008V65.736C765.008 57.608 761.744 53.544 755.216 53.544C751.76 53.544 749.008 54.696 746.96 57C744.912 59.24 743.888 62.6 743.888 67.08V93H728.912V41.352H743.216V47.304C745.136 45.128 747.472 43.464 750.224 42.312C753.04 41.16 756.112 40.584 759.44 40.584C763.088 40.584 766.384 41.32 769.328 42.792C772.272 44.2 774.64 46.28 776.432 49.032C778.544 46.344 781.2 44.264 784.4 42.792C787.664 41.32 791.216 40.584 795.056 40.584ZM854.738 93.768C849.298 93.768 844.402 92.648 840.05 90.408C835.762 88.104 832.402 84.936 829.97 80.904C827.538 76.872 826.322 72.296 826.322 67.176C826.322 62.056 827.538 57.48 829.97 53.448C832.402 49.416 835.762 46.28 840.05 44.04C844.402 41.736 849.298 40.584 854.738 40.584C860.178 40.584 865.042 41.736 869.33 44.04C873.618 46.28 876.978 49.416 879.41 53.448C881.842 57.48 883.058 62.056 883.058 67.176C883.058 72.296 881.842 76.872 879.41 80.904C876.978 84.936 873.618 88.104 869.33 90.408C865.042 92.648 860.178 93.768 854.738 93.768ZM854.738 81.48C858.578 81.48 861.714 80.2 864.146 77.64C866.642 75.016 867.89 71.528 867.89 67.176C867.89 62.824 866.642 59.368 864.146 56.808C861.714 54.184 858.578 52.872 854.738 52.872C850.898 52.872 847.73 54.184 845.234 56.808C842.738 59.368 841.49 62.824 841.49 67.176C841.49 71.528 842.738 75.016 845.234 77.64C847.73 80.2 850.898 81.48 854.738 81.48ZM924.46 40.584C930.86 40.584 936.012 42.504 939.916 46.344C943.884 50.184 945.868 55.88 945.868 63.432V93H930.892V65.736C930.892 61.64 929.996 58.6 928.204 56.616C926.412 54.568 923.82 53.544 920.428 53.544C916.652 53.544 913.644 54.728 911.404 57.096C909.164 59.4 908.044 62.856 908.044 67.464V93H893.068V41.352H907.372V47.4C909.356 45.224 911.82 43.56 914.764 42.408C917.708 41.192 920.94 40.584 924.46 40.584Z" fill="#1A428A"/>
<path d="M957.523 59.976H984.691V71.976H957.523V59.976Z" fill="#1ECAD3"/>

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1,4 +1,4 @@
<svg width="1240" height="209" viewBox="0 0 1240 209" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="1240" height="209" viewBox="0 0 1240 209" fill="none" xmlns="http://www.w3.org/2000/svg">
<line x1="674.5" y1="2.18557e-08" x2="674.5" y2="209" stroke="#9CB3E4"/>
<path d="M795.056 40.584C801.52 40.584 806.64 42.504 810.416 46.344C814.256 50.12 816.176 55.816 816.176 63.432V93H801.2V65.736C801.2 61.64 800.336 58.6 798.608 56.616C796.944 54.568 794.544 53.544 791.408 53.544C787.888 53.544 785.104 54.696 783.056 57C781.008 59.24 779.984 62.6 779.984 67.08V93H765.008V65.736C765.008 57.608 761.744 53.544 755.216 53.544C751.76 53.544 749.008 54.696 746.96 57C744.912 59.24 743.888 62.6 743.888 67.08V93H728.912V41.352H743.216V47.304C745.136 45.128 747.472 43.464 750.224 42.312C753.04 41.16 756.112 40.584 759.44 40.584C763.088 40.584 766.384 41.32 769.328 42.792C772.272 44.2 774.64 46.28 776.432 49.032C778.544 46.344 781.2 44.264 784.4 42.792C787.664 41.32 791.216 40.584 795.056 40.584ZM854.738 93.768C849.298 93.768 844.402 92.648 840.05 90.408C835.762 88.104 832.402 84.936 829.97 80.904C827.538 76.872 826.322 72.296 826.322 67.176C826.322 62.056 827.538 57.48 829.97 53.448C832.402 49.416 835.762 46.28 840.05 44.04C844.402 41.736 849.298 40.584 854.738 40.584C860.178 40.584 865.042 41.736 869.33 44.04C873.618 46.28 876.978 49.416 879.41 53.448C881.842 57.48 883.058 62.056 883.058 67.176C883.058 72.296 881.842 76.872 879.41 80.904C876.978 84.936 873.618 88.104 869.33 90.408C865.042 92.648 860.178 93.768 854.738 93.768ZM854.738 81.48C858.578 81.48 861.714 80.2 864.146 77.64C866.642 75.016 867.89 71.528 867.89 67.176C867.89 62.824 866.642 59.368 864.146 56.808C861.714 54.184 858.578 52.872 854.738 52.872C850.898 52.872 847.73 54.184 845.234 56.808C842.738 59.368 841.49 62.824 841.49 67.176C841.49 71.528 842.738 75.016 845.234 77.64C847.73 80.2 850.898 81.48 854.738 81.48ZM924.46 40.584C930.86 40.584 936.012 42.504 939.916 46.344C943.884 50.184 945.868 55.88 945.868 63.432V93H930.892V65.736C930.892 61.64 929.996 58.6 928.204 56.616C926.412 54.568 923.82 53.544 920.428 53.544C916.652 53.544 913.644 54.728 911.404 57.096C909.164 59.4 908.044 62.856 908.044 67.464V93H893.068V41.352H907.372V47.4C909.356 45.224 911.82 43.56 914.764 42.408C917.708 41.192 920.94 40.584 924.46 40.584Z" fill="#1A428A"/>
<path d="M957.523 59.976H984.691V71.976H957.523V59.976Z" fill="#1ECAD3"/>

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" width="1538" height="906" viewBox="0 0 1538 906" id="svg2" inkscape:version="0.48.1 " sodipodi:docname="Aa.svg">
<svg role="img" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" width="1538" height="906" viewBox="0 0 1538 906" id="svg2" inkscape:version="0.48.1 " sodipodi:docname="Aa.svg">
<metadata id="metadata11">
<rdf:RDF>
<cc:Work rdf:about="">

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -59,7 +59,7 @@ Gamma](https://beta.gouv.fr/approche/acceleration) financé par la
---
En 2022 le projet mieux intégré au sein de l'[Urssaf Caisse Nationale](https://www.acoss.fr).
En 2022 le projet devient mieux intégré au sein de l'[Urssaf Caisse Nationale](https://www.acoss.fr).
En complément du financement apporté par l'Urssaf, le projet bénéficie du programme [France Relance](https://france-relance.transformation.gouv.fr/).

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -1,4 +1,4 @@
<svg width="1120" height="960" viewBox="0 0 1120 960" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="1120" height="960" viewBox="0 0 1120 960" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M640 320C640 298.989 635.861 278.183 627.821 258.771C619.78 239.359 607.994 221.72 593.137 206.863C578.28 192.006 560.641 180.22 541.229 172.179C521.817 164.139 501.012 160 480 160L480 320L640 320Z" fill="#F66775"/>
<rect x="320" y="480" width="320" height="320" fill="#DBE7FF"/>
<circle cx="480" cy="640" r="160" fill="#2E5FB6"/>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,4 +1,4 @@
<svg width="197" height="262" viewBox="0 0 197 262" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="197" height="262" viewBox="0 0 197 262" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="65.3659" cy="65.3659" r="65.3659" fill="#E25019"/>
<circle cx="163.415" cy="32.6829" r="32.6829" fill="#009CB8"/>
<circle cx="163.415" cy="98.0496" r="32.6829" fill="white"/>

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 559 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -37,7 +37,7 @@ export default function ISSimulation() {
<Body>
<Trans i18nKey="impotSociété.warning">
Ce simulateur sadresse aux{' '}
<abbr title="Très Petite Entreprises">TPE</abbr> : il prend en
<abbr title="Très Petites Entreprises">TPE</abbr> : il prend en
compte les taux réduits de limpôt sur les sociétés.
</Trans>
</Body>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -27,8 +27,8 @@ export default function Video() {
allowFullScreen
title={
i18n.language === 'fr'
? '3 minutes pour comprendre la Sécurité Sociale'
: '3 minutes to understand the French Social Security system'
? 'Vidéo Youtube : 3 minutes pour comprendre la Sécurité Sociale'
: 'Youtube video : 3 minutes to understand the French Social Security system'
}
/>
</div>

View File

@ -1,4 +1,4 @@
<svg width="160" height="385" viewBox="0 0 160 385" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg role="img" width="160" height="385" viewBox="0 0 160 385" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="80.5" cy="32.5" r="32.5" fill="#009CB8"/>
<path d="M80 225C124.183 225 160 260.817 160 305L-3.49691e-06 305C-1.56562e-06 260.817 35.8172 225 80 225Z" fill="white"/>
<path d="M80 305C124.183 305 160 340.817 160 385L-3.49691e-06 385C-1.56562e-06 340.817 35.8172 305 80 305Z" fill="#FFBB0C"/>

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 744 B

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
data-name="Layer 1"
width="917.13751"
height="600"

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -75,7 +75,7 @@ export default function Library() {
<iframe
src="https://codesandbox.io/embed/zen-keller-2dpct?fontsize=14&hidenavigation=1&theme=dark"
css="width:100%; max-width: 1200px; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="mon-entreprise (exemple 1)"
title="Exemple d'intégration sur codesandbox.io : lancement d'un calcul"
></iframe>
</div>
<H2>Paramétrer le calcul</H2>
@ -134,7 +134,7 @@ export default function Library() {
<iframe
src="https://codesandbox.io/embed/mon-entreprise-exemple-2-cev02?fontsize=14&hidenavigation=1&theme=dark"
css="width:100%; max-width: 1200px; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="mon-entreprise (exemple 2)"
title="Exemple d'intégration sur codesandbox.io : paramétrage du calcul"
></iframe>
</div>
<Message type="info" icon>
@ -169,7 +169,7 @@ export default function Library() {
<iframe
src="https://codesandbox.io/embed/mon-entreprise-exemple-3-4j11c?fontsize=14&hidenavigation=1&theme=dark"
css="width:100%; max-width: 1200px; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="mon-entreprise (exemple 3)"
title="Exemple d'intégration sur codesandbox.io : association avec d'autres librairies"
></iframe>
</div>
</Trans>

View File

@ -144,6 +144,7 @@ export default function Options() {
margin: 0,
}}
aria-hidden="true"
role="img"
>
<g style={{ fill: '#030303' }}>
<path d={icons.github.icon} />

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,6 +1,5 @@
<svg width="512px" height="512px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
<svg role="img" width="512px" height="512px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
<defs></defs>
<title>favicon</title>
<g>
<ellipse style="stroke-width: 0px; fill: rgb(30, 202, 211);" cx="128" cy="128" rx="128" ry="128"></ellipse>
<path d="M 256 256 L 512 256 L 512 0 C 371 0 256 115 256 256 Z" style="fill: rgb(0, 113, 206);"></path>

Before

Width:  |  Height:  |  Size: 678 B

After

Width:  |  Height:  |  Size: 663 B

View File

@ -1,6 +1,5 @@
<svg width="512px" height="512px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
<svg role="img" width="512px" height="512px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
<defs></defs>
<title>favicon</title>
<g>
<ellipse style="stroke-width: 0px; fill: rgb(30, 202, 211);" cx="128" cy="128" rx="128" ry="128"></ellipse>
<path d="M 256 256 L 512 256 L 512 0 C 371 0 256 115 256 256 Z" style="fill: rgb(0, 113, 206);"></path>

Before

Width:  |  Height:  |  Size: 678 B

After

Width:  |  Height:  |  Size: 663 B

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg role="img" version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 564 182" style="enable-background:new 0 0 564 182;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1ECAD3;}

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
enable-background="new 0 0 962 228.1"
viewBox="0 0 583.79999 121.8"
version="1.1"

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB