mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
parent
852e9ae7da
commit
2e980e0968
2 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
class:bx--loading={true}
|
class:bx--loading={true}
|
||||||
class:bx--loading--small={small}
|
class:bx--loading--small={small}
|
||||||
class:bx--loading--stop={!active}>
|
class:bx--loading--stop={!active}>
|
||||||
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
||||||
<label class:bx--visually-hidden={true} {id}>{description}</label>
|
<label class:bx--visually-hidden={true} {id}>{description}</label>
|
||||||
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
|
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
|
||||||
<title>{description}</title>
|
<title>{description}</title>
|
||||||
|
@ -71,6 +72,7 @@
|
||||||
class:bx--loading--small={small}
|
class:bx--loading--small={small}
|
||||||
class:bx--loading--stop={!active}
|
class:bx--loading--stop={!active}
|
||||||
{...$$restProps}>
|
{...$$restProps}>
|
||||||
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
||||||
<label class:bx--visually-hidden={true} {id}>{description}</label>
|
<label class:bx--visually-hidden={true} {id}>{description}</label>
|
||||||
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
|
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
|
||||||
<title>{description}</title>
|
<title>{description}</title>
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if label}
|
{#if label}
|
||||||
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
||||||
<label
|
<label
|
||||||
role="presentation"
|
role="presentation"
|
||||||
{tabindex}
|
{tabindex}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue