Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 132
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 294
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 168
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 237
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 317
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 358
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 282
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 294
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: drivers/Session_files_driver.php
Line Number: 108
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
In addition, as pages likely have more than one such navigation section, it’s advisable to provide a descriptive aria-label
for the <nav>
to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages"
.
Pagination links are customizable for different circumstances. Use .disabled
for links that appear un-clickable and .active
to indicate the current page.
While the .disabled
class uses pointer-events: none
to try to disable the link functionality of <a>
s, that CSS property is not yet standardized and doesn’t account for keyboard navigation. As such, you should always add tabindex="-1"
on disabled links and use custom JavaScript to fully disable their functionality.
You can optionally swap out active or disabled anchors for <span>
, or omit the anchor in the case of the prev/next arrows, to remove click functionality and prevent keyboard focus while retaining intended styles.
In addition, as pages likely have more than one such navigation section, it’s advisable to provide a descriptive aria-label
for the <nav>
to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages"
.
Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with aria
attributes.
Fancy larger or smaller pagination? Add .pagination-lg
or .pagination-sm
for additional sizes.