Skip to content

Commit 2d2a72d

Browse files
authored
Merge pull request #211 from python-project-templates/tkp/fix-brand-mark-accessible-names
Fix accessible names in toolkit brand links
2 parents 32958e6 + b0eb000 commit 2d2a72d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎javascript/uitk-svelte/src/lib/components/BrandMark.svelte.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let { href = '/' }: Props = $props();
77
</script>
88

9-
<a {href} aria-label="{{ brand_name }}, home"><span aria-hidden="true">{{ brand_name[0] | upper }}</span>{{ brand_name }}</a>
9+
<a {href}><span aria-hidden="true">{{ brand_name[0] | upper }}</span>{{ brand_name }}</a>
1010

1111
<style>
1212
a {

‎javascript/uitk-webawesome/src/lit/components/brand-mark.ts.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class BrandMark extends LitElement {
2626
`;
2727

2828
render() {
29-
return html`<a href="/" aria-label="{{ brand_name }}, home"><span aria-hidden="true">{{ brand_name[0] | upper }}</span>{{ brand_name }}</a>`;
29+
return html`<a href="/"><span aria-hidden="true">{{ brand_name[0] | upper }}</span>{{ brand_name }}</a>`;
3030
}
3131
}
3232

0 commit comments

Comments
 (0)