File tree Expand file tree Collapse file tree
test/unit-tests/components/views/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,18 +70,17 @@ exports[`<LayoutSwitcher /> should render 1`] = `
7070 data-self = " true"
7171 tabindex = " -1"
7272 >
73- <div
74- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
75- role = " button"
76- tabindex = " 0"
73+ <button
74+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
75+ type = " button"
7776 >
7877 <span
79- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
78+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
8079 dir = " auto"
8180 >
8281 Alice
8382 </span >
84- </div >
83+ </button >
8584 <div
8685 class = " mx_EventTile_avatar"
8786 >
@@ -211,18 +210,17 @@ exports[`<LayoutSwitcher /> should render 1`] = `
211210 data-self = " true"
212211 tabindex = " -1"
213212 >
214- <div
215- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
216- role = " button"
217- tabindex = " 0"
213+ <button
214+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
215+ type = " button"
218216 >
219217 <span
220- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
218+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
221219 dir = " auto"
222220 >
223221 Alice
224222 </span >
225- </div >
223+ </button >
226224 <div
227225 class = " mx_EventTile_avatar"
228226 >
@@ -355,18 +353,17 @@ exports[`<LayoutSwitcher /> should render 1`] = `
355353 <span
356354 class = " mx_MessageTimestamp"
357355 />
358- <div
359- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
360- role = " button"
361- tabindex = " 0"
356+ <button
357+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
358+ type = " button"
362359 >
363360 <span
364- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
361+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
365362 dir = " auto"
366363 >
367364 Alice
368365 </span >
369- </div >
366+ </button >
370367 <div
371368 class = " mx_EventTile_avatar"
372369 >
Original file line number Diff line number Diff line change @@ -213,18 +213,17 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
213213 data-self = " true"
214214 tabindex = " -1"
215215 >
216- <div
217- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
218- role = " button"
219- tabindex = " 0"
216+ <button
217+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
218+ type = " button"
220219 >
221220 <span
222- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
221+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
223222 dir = " auto"
224223 >
225224 @userId:matrix.org
226225 </span >
227- </div >
226+ </button >
228227 <div
229228 class = " mx_EventTile_avatar"
230229 >
@@ -354,18 +353,17 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
354353 data-self = " true"
355354 tabindex = " -1"
356355 >
357- <div
358- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
359- role = " button"
360- tabindex = " 0"
356+ <button
357+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
358+ type = " button"
361359 >
362360 <span
363- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
361+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
364362 dir = " auto"
365363 >
366364 @userId:matrix.org
367365 </span >
368- </div >
366+ </button >
369367 <div
370368 class = " mx_EventTile_avatar"
371369 >
@@ -498,18 +496,17 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
498496 <span
499497 class = " mx_MessageTimestamp"
500498 />
501- <div
502- class = " mx_DisambiguatedProfile _disambiguatedProfile_oa3at_8"
503- role = " button"
504- tabindex = " 0"
499+ <button
500+ class = " mx_DisambiguatedProfile _disambiguatedProfile_13otr_8"
501+ type = " button"
505502 >
506503 <span
507- class = " mx_Username_color2 _disambiguatedProfile_displayName_oa3at_14 mx_DisambiguatedProfile_displayName"
504+ class = " mx_Username_color2 _disambiguatedProfile_displayName_13otr_15 mx_DisambiguatedProfile_displayName"
508505 dir = " auto"
509506 >
510507 @userId:matrix.org
511508 </span >
512- </div >
509+ </button >
513510 <div
514511 class = " mx_EventTile_avatar"
515512 >
You can’t perform that action at this time.
0 commit comments