Shortcode attribute value with dash (hyphen)

It’s safe, you won’t have any problem using it, the only caution about Hyphens and Shortcodes comes from the Codex.

Take caution when using hyphens in the name of your shortcodes. In the
following instance WordPress may see the second opening shortcode as
equivalent to the first (basically WordPress sees the first part
before the hyphen):

[tag]
[tag-a]

It all depends on which shortcode is defined first. If you are going
to use hyphens then define the shortest shortcode first.

To avoid this, use an underscore or simply no separator:

[tag_a]

Leave a Comment