fix(dashboard): align the share dialog's accessible name with the properties modal

The dialog's aria-label read 'name - Share' with an em dash while the
sibling properties modal uses plain 'name Properties'; screen readers
announce the dash as noise. Use the same name-then-noun pattern.
This commit is contained in:
Nariman Jelveh
2026-08-17 21:58:23 -07:00
parent 4847039ae3
commit a378c09028
+1 -1
View File
@@ -93,7 +93,7 @@ export default function UIShareModal ({ path: item_path, name, owner, fsentry, $
const $overlay = $(`
<div class="share-modal-overlay">
<div class="share-modal" role="dialog" aria-modal="true" tabindex="-1" aria-label="${html_encode(item_name)} ${i18n('share')}">
<div class="share-modal" role="dialog" aria-modal="true" tabindex="-1" aria-label="${html_encode(item_name)} ${i18n('share')}">
<div class="share-modal-header">
<div class="share-modal-title">
<span class="share-modal-title-icon"></span>