|
732 | 732 | <table class="table borderless" aria-label="Packages that depend on @Model.Id"> |
733 | 733 | <thead> |
734 | 734 | <tr> |
735 | | - <th class="used-by-adjust-table-head" tabindex="0">Package</th> |
736 | | - <th class="used-by-adjust-table-head" tabindex="0">Downloads</th> |
| 735 | + <th class="used-by-adjust-table-head" scope="col" role="columnheader" tabindex="0">Package</th> |
| 736 | + <th class="used-by-adjust-table-head" scope="col" role="columnheader" tabindex="0">Downloads</th> |
737 | 737 | </tr> |
738 | 738 | </thead> |
739 | 739 | <tbody class="no-border"> |
740 | 740 | @foreach (var item in Model.PackageDependents.TopPackages) |
741 | 741 | { |
742 | 742 | <tr> |
743 | | - <td class="used-by-desc-column"> |
| 743 | + <td class="used-by-desc-column" tabindex="0"> |
744 | 744 | <a class="text-left ngp-link" href="@Url.Package(item.Id)"> |
745 | 745 | @(item.Id) |
746 | 746 | </a> |
|
754 | 754 | } |
755 | 755 | <p class="used-by-desc">@item.Description</p> |
756 | 756 | </td> |
757 | | - <td> |
| 757 | + <td tabindex="0"> |
758 | 758 | <i class="ms-Icon ms-Icon--Download used-by-download-icon" aria-hidden="true"></i> <label class="used-by-count">@(item.DownloadCount.ToKiloFormat())</label> |
759 | 759 | </td> |
760 | 760 | </tr> |
|
786 | 786 | <table class="table borderless" aria-label="GitHub repositories that depend on @Model.Id"> |
787 | 787 | <thead> |
788 | 788 | <tr> |
789 | | - <th class="used-by-adjust-table-head" tabindex="0">Repository</th> |
790 | | - <th class="used-by-adjust-table-head" tabindex="0">Stars</th> |
| 789 | + <th class="used-by-adjust-table-head" scope="col" role="columnheader" tabindex="0">Repository</th> |
| 790 | + <th class="used-by-adjust-table-head" scope="col" role="columnheader" tabindex="0">Stars</th> |
791 | 791 | </tr> |
792 | 792 | </thead> |
793 | 793 | <tbody class="no-border"> |
794 | 794 | @foreach (var item in Model.GitHubDependenciesInformation.Repos.Select((elem, i) => new { Value = elem, Idx = i })) |
795 | 795 | { |
796 | 796 | <tr> |
797 | | - <td class="used-by-desc-column"> |
| 797 | + <td class="used-by-desc-column" tabindex="0"> |
798 | 798 | <a data-index-number="@item.Idx" class="text-left gh-link" href="@item.Value.Url" target="_blank"> |
799 | 799 | @(item.Value.Id) |
800 | 800 | </a> |
801 | 801 | <div class="row used-by-desc"> |
802 | 802 | <span>@(item.Value.Description)</span> |
803 | 803 | </div> |
804 | 804 | </td> |
805 | | - <td> |
| 805 | + <td tabindex="0"> |
806 | 806 | <i class="ms-Icon ms-Icon--FavoriteStarFill gh-star" aria-hidden="true"></i> <label class="used-by-count">@(item.Value.Stars.ToKiloFormat())</label> |
807 | 807 | </td> |
808 | 808 | </tr> |
|
829 | 829 | <table aria-label="Version History of @Model.Id" class="table borderless"> |
830 | 830 | <thead> |
831 | 831 | <tr> |
832 | | - <th scope="col" tabindex="0">Version</th> |
833 | | - <th scope="col" tabindex="0">Downloads</th> |
834 | | - <th scope="col" tabindex="0">Last updated</th> |
| 832 | + <th scope="col" role="columnheader" tabindex="0">Version</th> |
| 833 | + <th scope="col" role="columnheader" tabindex="0">Downloads</th> |
| 834 | + <th scope="col" role="columnheader" tabindex="0">Last updated</th> |
835 | 835 | @if (Model.CanDisplayPrivateMetadata) |
836 | 836 | { |
837 | | - <th scope="col" tabindex="0">Status</th> |
| 837 | + <th scope="col" role="columnheader" tabindex="0">Status</th> |
838 | 838 | } |
839 | 839 | @if (Model.IsCertificatesUIEnabled) |
840 | 840 | { |
841 | | - <th scope="col" aria-hidden="true" abbr="Signature Information"></th> |
| 841 | + <th scope="col" role="columnheader" aria-hidden="true" abbr="Signature Information"></th> |
842 | 842 | } |
843 | 843 | @if (Model.IsPackageDeprecationEnabled || Model.IsPackageVulnerabilitiesEnabled) |
844 | 844 | { |
845 | | - <th scope="col" aria-hidden="true" abbr="Package Warnings"></th> |
| 845 | + <th scope="col" role="columnheader" aria-hidden="true" abbr="Package Warnings"></th> |
846 | 846 | } |
847 | 847 | </tr> |
848 | 848 | </thead> |
|
853 | 853 | || (!packageVersion.Deleted && Model.CanDisplayPrivateMetadata)) |
854 | 854 | { |
855 | 855 | <tr class="@(packageVersion.IsCurrent(Model) ? "bg-info" : null)"> |
856 | | - <td> |
| 856 | + <td tabindex="0"> |
857 | 857 | <a href="@Url.Package(packageVersion)" title="@packageVersion.Version"> |
858 | 858 | @packageVersion.Version.Abbreviate(30) |
859 | 859 | </a> |
|
0 commit comments