Improved accessibility (#118):
* aria-hidden on the channel avatar in the `p/livechat/configuration` page.
This commit is contained in:
parent
c6d012cfb4
commit
944bdcebb7
@ -50,7 +50,7 @@ export class ChannelHomeElement extends LivechatElement {
|
|||||||
<ul class="peertube-plugin-livechat-configuration-home-channels">
|
<ul class="peertube-plugin-livechat-configuration-home-channels">
|
||||||
${this._channels?.map((channel) => html`
|
${this._channels?.map((channel) => html`
|
||||||
<li>
|
<li>
|
||||||
<a href="${channel.livechatConfigurationUri}">
|
<a href="${channel.livechatConfigurationUri}" aria-hidden="true">
|
||||||
${channel.avatar
|
${channel.avatar
|
||||||
? html`<img class="avatar channel" src="${channel.avatar.path}">`
|
? html`<img class="avatar channel" src="${channel.avatar.path}">`
|
||||||
: html`<div class="avatar channel initial gray"></div>`
|
: html`<div class="avatar channel initial gray"></div>`
|
||||||
|
Loading…
Reference in New Issue
Block a user