mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(modal): remove exraneous focus ring (#491)
This commit is contained in:
parent
48012b9ca0
commit
3921c0606d
2 changed files with 1 additions and 2 deletions
|
@ -90,7 +90,6 @@
|
||||||
<div
|
<div
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
role="presentation"
|
role="presentation"
|
||||||
tabindex="-1"
|
|
||||||
class:bx--modal="{true}"
|
class:bx--modal="{true}"
|
||||||
class:is-visible="{open}"
|
class:is-visible="{open}"
|
||||||
class:bx--modal--danger="{danger}"
|
class:bx--modal--danger="{danger}"
|
||||||
|
|
|
@ -127,7 +127,6 @@
|
||||||
<div
|
<div
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
role="presentation"
|
role="presentation"
|
||||||
tabindex="-1"
|
|
||||||
id="{id}"
|
id="{id}"
|
||||||
class:bx--modal="{true}"
|
class:bx--modal="{true}"
|
||||||
class:bx--modal-tall="{!passiveModal}"
|
class:bx--modal-tall="{!passiveModal}"
|
||||||
|
@ -156,6 +155,7 @@
|
||||||
<div
|
<div
|
||||||
bind:this="{innerModal}"
|
bind:this="{innerModal}"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
|
tabindex="-1"
|
||||||
{...alertDialogProps}
|
{...alertDialogProps}
|
||||||
aria-modal="true"
|
aria-modal="true"
|
||||||
aria-label="{ariaLabel}"
|
aria-label="{ariaLabel}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue